Keith Hodges | 23 Apr 07:11

Cool Idea!

Hello Lukas,

The hierarchy of choices available as swappable replacements for 
PRPierFrame, is starting to mature.

The first, PRPierFrameCentral, implements the wiring in order for it to 
be the centre of attention as I suggested yesterday. It aims to preserve 
the existing behaviour, however it has a nice innovation:

If your site has no environment at all, it caches one for you. i.e. your 
layout can be provided as part of your PRPierFrame subclass, and does 
not need to be user visible or editable. If you edit the code that 
generates your layout directly, it will get used for the next session.

And that's not all. If you add an empty page, and set that as an 
environment in a structure's settings, it will automatically populate.

==
The second class PRPierBasicBP moves the layout to:

/environment/layout
/environment/style

Again it will be cached for you "off-site" until an environment is added.

==
A third class PRPierBasicCWS is a first attempt at an alternative to 
blueprint.
==
A fourth class is PRPierAdmin provides a non edittable environment for 
admin purposes.

cheers

Keith

_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


Gmane