[Zope3-dev] Re: Changing the default skin

Philipp von Weitershausen philipp at weitershausen.de
Tue Jun 29 10:49:23 EDT 2004


Joachim Werner wrote:

> Hi!
> 
> I'm trying to change the default skin to the "StaticTree" skin from the 
> tree package (Konqueror can not display the Rotterdam dynamic tree 
> correctly).
> 
> How do I do this?
> 
> I think I should do this in overrides.zcml.

Correct

> But this doesn't work:
> 
> <browser:skin name="StaticTree" layers="default" />

browser:skin defines a new skin consisting of several skin layers. Like 
in CMF, where you go to the skins tool and add a new skin and then put 
in all the layers it consists of in the right order.

This is, of course, not what you want. You want to change the default 
skin. So simply do:

   <defaultSkin name="StaticTree" />

in overrides.zcml.

Philipp



More information about the Zope3-dev mailing list