I am a bit stuck in a pre-Blueprint world. So I was having a look at it.
I loaded up the current, release of pier, and it is very clean and ready
to be styled. I miss the tree view, has it gone because it doesnt fit in
the layout?
Blueprint looks cool for some applications. I have one site which has a
fairly fixed layout, so blueprint appears to me to be an ideal solution
for that, but not, I fear for pier in general.
This appears to me to be a better fit, for general blogish/corporate sites.
http://www.contentwithstyle.co.uk/Articles/17/a-css-framework/
best regards
Keith
First (alpha!) release of Pier running with Magma Persistency.
Image available from ftp.seasidehosting.st
User: preloaded Password: squeak
enjoy
Keith
------
Image Use Instructions
In pier configuration click on 'Magma Control Panel', which will inform
you that the repository does not exist. If you have placed this image on
seasidehosting then you will have to manually create the repository
directory. Given the list of options as to what repository to create,
click the 'create' button (and wait). The existing pier kernel should
appear in the list with a 'persist' button next to it, click 'persist'.
Then try it and see!
------
------
Detailed Log of Image Creation Steps (alternative title: "monticello
tutorial")
This image was prepared as follows:
Beginning with Squeak3.8-6555full
Initial start asks for updates: select "do not ask again" - this is
important should you wish to deploy. Headless servers (e.g.
seasidehosting) cannot handle user interaction and will stop at this point.
From "world menu > open.... > Monticello Browser"
Browser opens with (Monticello....)
Click the "+Repository Button", select "HTTP" as the repository type,
and enter
MCHttpRepository
location: 'http://www.squeaksource.com/Seaside'
user: ''
password: ''
as the repository info (if you have a login on Squeaksource then you can
enter your initials
as the 'user' above.)
Add the following repository for Monticello.
MCHttpRepository
location: 'http://www.squeaksource.com/Monticello'
user: ''
password: ''
Add the following repository for Magma.
MCHttpRepository
location: 'http://www.squeaksource.com/MagmaTester'
user: ''
password: ''
and the following two repositories for Magritte and Pier
MCHttpRepository
location: 'http://mc.lukas-renggli.ch/magritte'
user: ''
password: ''
MCHttpRepository
location: 'http://mc.lukas-renggli.ch/pier'
user: ''
password: ''
also:
MCHttpRepository
location: 'http://www.squeaksource.com/OmniBrowser'
user: ''
password: ''
(to edit this information:
click the menu button in the right hand pane of the Monticello Browser)
----
Loading Latest Monticello.
More recent versions of Monticello provide better feedback as to which
packages are currently loaded.
Select the http://www.squeaksource.com/Monticello repository, click
"open", select the latest package (Monticello-avi.279) from the main
"Monticello" branch, and click "load".
Select the Monticello package on the left hand pane, and the
squeaksource/Monticello repository in the right hand pane. Click 'open'.
In the repository browser, click on the latest version
(Monticello-avi.279.mcz) and click 'Load'.
----
Loading Seaside
Select "world menu > open... SqueakMap"... and a dialog will ask if you
wish to upgrade SqueakMap. Which you do. Notice that SMBase, SMLoader
packages appeaer in the Monticello browser, since the upgrade is
performed by loading Monticello packages.
In SqueakMap, select the ever so convenient "Seaside Installer" which
should load in the whole of seaside with its dependencies in one go. To
do this select the left had pane menu button, "install". (Part way
through the install you will be prompted to enter an admin username
(seaside) and password (admin))
(if SqueakMap doesnt work it is being knobbled by a more recent
package-cache, remove it and try again)
Select the seaside repositoryClick the "open" and the repository browser
will open.
Select Seaside2.6b1 which is the current latest. In the right hand pane
are the releases. Releases may be made by anyone and they may be small
branches off from the main stream. Periodically an effort will be made
to ensure that all changes are merged. Click the history button in order
to browse the history of this package to get some idea of what is going
on. Look at the ancestors of a package to see if one version is being
sequentially built on the next, or whether any branching is occurring.
Seaside is fairly mature and changes infrequent, therefore it is likely
to be safe to grab the latest version.
Loaded Seaside2.6b1-mb.79
Loaded Scriptaculous-lr.137
To start Seaside doit:
WAKom startOn: 8080.
( Or use the "beach flags" SeasideMorph
available from: http://minnow.cc.gatech.edu/squeak/5862 )
To test if everything is running, check the following url in your normal
web browser.
http://localhost:8080/seaside/config
you should be prompted for you username and password (as given earlier).
----
Loading Magma
Back to the Monticello Browser. Deselect the selected package by
clicking on it once. This should re-reveal all of the registered
repositories.
(It is worth saving this. In the right hand side pane menu button there
is a menu item: "Save Repositories", which writes a simple configuration
script to the working directory.)
Select the http://www.squeaksource.com/MagmaTester repository, and click
"open".
Select MagmaServerLoader, and click "load". (it takes a while!)
loaded MagmaServerLoader-cmm.21
loaded Ma client server-cmm.123
loaded Ma exception handling-cmm.22
loaded Ma time objects-cmm.37
----
Load Magma Seaside Integration Package
Select "Magma Seaside" (lhs) and the latest package and click "load",
loaded Magma Seaside-kph.18
----
Load Magma Seaside Sushi Store Demo fixes
loaded Seaside-Examples-Store-Magma.kph-11
----
Before using Magma may need to execute the following.
MagmaSession initialize.
MagmaRepositoryController initialize.
useful snippets
MagmaSession allInstances cleanUp.
MagmaSession disconnectAndCloseAllConnectedSessions.
----
Load Magritte
loaded Magritte-All-lr.171
Load Pier
loaded Pier-All-lr.109
Load OmniBrowser
loaded OmniBrowser-avi.258
loaded Pier-OmniBrowser-lr.19
----
Latest Pier-Magma code
loaded Pier-Model-kph.80
loaded Pier-Seaside-kph.80
loaded Pier-Magma-kph.1
----
Pre-upload actions:
Monticello Browser - "flush cached versions".
----
Release Preloaded Image as Sqk3.8f-smp.image
___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
Hello All,
Pier-Jetsam-Environment moves all configuration and initialization of a
pier kernel to subclasses of PRPierFrame.
1. Just switch your seaside application's PRPierFrame component to
switch to a different style and layout (even switch to a different style
framework).
2. Set up a second entry point to your Pier instance with a different
style. e.g. http://admin.mypier.example
this allows a simple way to support admin users without needing
Pier-Security.
3. Embed your pier instance in another seaside app, with a specialised
style for that app as provided by the root frame component that you
choose to embed.
4. The standard scheme of user editable environments still works as
before except that new environments get auto initialized.
enjoy
Keith
p.s. feedback invited
===========
PRPierFrameStandardBP
==================
The same policies and layout as the current pier release, except that no
'environment' is initially needed. If you provide 'environment' with
empty contents it will be initialized automatically.
PRPierFrameNewBP
================
As above except that the layout is obtained/initialized in
$environment/layout
PRPierFrameCWS and subclasses
========================
As above except that the style framework is based upon "Content With
Style" css framework.
The framework uses a single layout definition, but provides a number of
common layouts via CSS variants.
The options are
"#layout1colCss
" #layoutnavtopsubrightCss
"#layoutnavtop3colCss
"" #layoutnavtop1colCss
"" #layoutnavleft1colCss
"" #layoutnavleft2colCss
"" #layoutnavtoplocalleftCss
"
see: http://www.contentwithstyle.co.uk/Articles/17/a-css-framework
PRPierFrameAdminBP - Themeable classic pier 1.0.0 ui
========================================
The old classic pier admin UI (including the tree navigation widget)
All colors in css are referenced to method selectors for easy theming.
(Subclass and override #colorMethods)
Updated to use "Nifty Corners" so that rounded corners show in Internet
Explorer.
Updated to use transparent png, so that the color of the banner and the
logo can be changed in a single method.
There is still a little bit of work to get the css working cross browser
feedback as always appreciated
Keith
Hi,
I'm building a complete -but simple- application based on magritte,
and having a couple of doubts:
-How do I add a "caption" (title) to a form created with
"asComponent". I can add a decoration, but I wonder if there are a
more "standard" way.
-I want to validate some complex input (where field A depends on field
B, for example). How do I add conditions to containers? is the only
way override #description and building a container my own?
Thanks,
Esteban
"Querer es suscitar las paradojas"
Camus - El mito de Sísifo
Why MABlockAccessor goes in Magritte-Model-lr.313? Is deprecated? What
is suppossed to use instead?
Cheers,
Esteban
"Querer es suscitar las paradojas"
Camus - El mito de Sísifo
The ability to comment times out after some time.
hth,
Adriaan.
> Hi,
> I'm a little bit puzzled. I have a page with a blog, and authorization
> to add comments to "others", but the comment post component is not
> being displayed... I'm missing something?
>
> Thanks,
> Esteban
>
> "Querer es suscitar las paradojas"
> Camus - El mito de Sísifo
>
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>
>
--
http://www.a3aan.st
Hi,
I'm a little bit puzzled. I have a page with a blog, and authorization
to add comments to "others", but the comment post component is not
being displayed... I'm missing something?
Thanks,
Esteban
"Querer es suscitar las paradojas"
Camus - El mito de Sísifo
Hi,
where would be the best place to put additional meta tags (like a
verify tag for google)?
I found some settings for the Contents component (Heading, Head
title,...) but I need to place additional Infos.
Another basic newbie question: What would be the best way to find out
which class contains the rendering method for a component?
Example:
If I look at the html output of seaside,
<link rel="stylesheet" type="text/css" href="/seaside/files/
WAStandardFiles/halo.css
how can I find the corresponding piece of code? In other environments
I would simply do a grep.
Is there a full-text search in squeak?
Cheers, Michael
Michael Markowski
michael.markowski(a)gmail.com
Si forte in alienas manus oberraverit hec peregrina epistola incertis
ventis dimissa, sed Deo commendata, precamur ut ei reddatur cui soli
destinata, nec preripiat quisquam non sibi parata.
(Translation: If by chance this wandering epistle, sent forth to the
uncertain winds but commended to God, wanders into alien hands, I beg
that it be returned to her to whom alone it was sent, nor should
anyone steal things not written for him.) From: The prologue to the
Liber Confortatorius of Goscelin of St. Bertin (born between 1030 and
1040).
Hi,
I would like to give the Google Webmaster Tools a try, and for that I
need to authenticate that I am the owner of the site. For this to
happen, I need to add a meta tag in my Pier pages.
The only way I know is to go add it in the updateRoot method, but this
should be supported by Pier at a user level. Is there a way to do
this? If not, what would be the possible solutions?
Cheers,
Doru
--
www.tudorgirba.comwww.tudorgirba.com/blog
"Every now and then stop and ask yourself if the war you're fighting
is the right one."
Hi,
Let's say I have to fill a Dictionary, with pairs of "size->price",
and I need to allow users to fill that dictionary...
How do I have to describe that with magritte?
Is it possible?
Thanks,
Esteban
"Querer es suscitar las paradojas"
Camus - El mito de Sísifo