[Zope-CMF] Question on Default Skins

alan runyan alan runyan" <runyaga@runyaga.com
Tue, 13 Aug 2002 11:26:36 -0500


> 1. I saw the receipe using 'setupCurrentSkin' last week and couldn't
>    get it working (http://www.zopelabs.com/cookbook/1028172355).

not sure about this

> 2. The previously posted receipe manipulating '_v_skindata' didn't work
>    either (http://www.zopelabs.com/cookbook/1016693454).

DANGER WILL ROBINSON!! DANGER!!

touching _v_skindata is naughty and should not be done.

http://cvs.zope.org/CMF/?only_with_tag=SkinApplyToSkinnable-branch
look at Skinnable.py and SkinsContainer.py

you can now change this in a access rule by changeSkin() method on the
portal object

shane is reviewing the changes for inclusion into HEAD.

~runyaga