[Zope3-Users] write a product keeping the customization of the instances in mind

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Aug 28 18:23:27 EDT 2005

On Tuesday 16 August 2005 06:29, Christoph Frick wrote:
> a) i want my skin to be the default for certain views. this means i have
>    a set of options i regulary use the ZMI views. but i want the page
>    itself to be itself look like i want it too - thats why i defined a
>    layer/skin "racerank" and moved e.g. my index.html into this layer.
>    accessing the index.html now only works if i call it with
>    ++skin++racerank - otherwise i get a 404; is there a way to use the
>    set layer as default for the file? so no ++skin++... needed? or is a
>    layer/skin the wrong approach at all for customizing views to users
>    (not admin users)?

See overrides.zcml, where you can switch the default skin. Another option 
would be to define a IBeforeTraversal subscriber that adjusts the skin, like 
the skin preference demo in the trunk and the SchoolTool project does.

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training

More information about the Zope3-users mailing list