[Zope-CMF] Having 2 views of same portal?
Roger Espinosa
roger@umich.edu
Tue, 6 Nov 2001 11:14:16 -0500 (EST)
I managed to do this using an AccessRule located _outside_ the CMF, and if
the request contained "public_root", set the REQUEST portal_skin key to
the PUBLIC_SKIN.
I believe I was able to make it invisible via the VirutalHostMonster, but
it's been a while.
(When the AcessRule was located inside the CMF, it seemed the CMF was
taking control of the environment before the rule fired.)
Roger
On Tue, 6 Nov 2001, alan runyan wrote:
> Hi.
>
> I have a CMF site and I need to have 2 default skins.
>
> /portal_root (default skin is PORTAL_SKIN)
> ----/public_root (default skin needs to be PUBLIC_SKIN)
> ----/Members (default skin is PORTAL_SKIN)
>
> how do I do this? I've tried to set default_skin and portal_skin in the
> request of the header (main_template. I'm using PageTemplates) and I'm
> getting the same skin each time. I have a python script that does:
> context.REQUEST.set('default_skin', 'PUBLIC_SKIN')
>
> and at the top of my Pagetemplate I tal:define="empty here/setupPublicskin"
> (I guess I shoudl use nocall?)
>
> thanks,
> -runyaga
>
>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests
>