[Seaside] What exactly is Pier?

Keith Hodges keith_hodges at yahoo.co.uk
Fri Aug 15 16:17:58 UTC 2008


Lukas Renggli wrote:
>> So, i am begining to figure this out, but I have a question.  How do I hide
>> the command section of the sidebar for certain people, I want to have it
>> when I am working on the site, but not when visitors are there, and, the
>> version included with the squeak-web image is older or newer than the
>>     
>
> First thing you have to do is to assign your user and group to all the
> structures in Pier. You can do this by executing 'Change Owner' and
> 'Change Group' on the root and checking to recursively apply it to all
> children.
>
> Now, if you take away the view permission from 'Other' in the command
> box it is not rendered anymore, when not logged in. Pay attention that
> you probably need to add another command box that only contains the
> login/logout (see the settings of the box) and that is always
> displayed, otherwise you lock yourself out.
>
> Check out the mailing-list archive (linked on the web-site) for
> in-length discussion how to setup a Pier site. Have a look at the
> linked Pier sites (e.g. my website or the one of seaside.st). If you
> have any questions on how a specific feature of these sites was made,
> feel free to ask in the mailing-list.
>
> Cheers,
> Lukas
>   
Or you load Pier-Jetsam-Environment (from the pieraddons repo)
and setup one seaside application to display using a frame class which 
supplies an admin layout,
and a second seaside application using a frame class with a custom 
layout for the users.

best regards

Keith



More information about the seaside mailing list