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