Hi Folks,

What's the best/cleanest way (with Plone 3.3.x) to switch skins with  
an URL?

I've been using apache re-write rules + a plone folder with an  
AccessRule to run the following script:


request = context.REQUEST
matchString="admin"
URL = request.get('URL')
urlList = URL.split('/')
if len(urlList)>3:
     if urlList[3] == matchString:
         context.portal_url.getPortalObject().changeSkin('AdminView')


However.. it doesn't work for some of the ControlPanel URLs. Is there  
a clean way, either completely in Apache, or using VHMonster to do this?

thanks!
-steve

_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to