[Zope-CMF] Question on Default Skins
Carl Rendell
cer@sol43.com
Wed, 31 Jul 2002 18:09:08 -0700
Gary,
Today I took a look at both products, and I'm basically no
comfortable using them because of the dependency upon
OrderedFolder. In fact there are three levels of dependency....
1. Ordered Folder
2. Virtual Host Folder
3. CMF Virtual Host Tool
My preference is to leverage the basic set of tools provided by
Zope and CMF, and not create additional dependencies that I need to
keep track of from installation to installation. Personal bias for
certain, but I've found support is easier for me that way.
So far I've tested the cookies method (fine, but requires a
re-direct the first time to ensure the cookie is used), and Alan's
cookbook method on zope labs (Have not been able to get that one to
work yet.)
http://www.zopelabs.com/cookbook/1016693454
I also found a method in CMFCore.Skinnable within the
SkinnableObjectManager class - setupCurrentSkin - but I have not
been able to get that working yet.
So.. still looking for a reliable non-cookie way to change the skin
for a single CMF Site instance based on an access rule. If anyone
has something that works for them.. please pass it along.
~C
On Wednesday, July 31, 2002, at 02:54 PM, Gary Poster wrote:
> Um...I suppose I should shut up about this by now (I've mentioned it a
> few times lately), but is there any reason why my products don't
> do what
> you two want? If there's a concrete problem I'll be happy to look at
> it. The only thing I've heard about lately is that one of my regexs
> needs to be a bit more lenient as it checks urls... I've been using it
> happily for some time now, and others have reported success as well.
>
> CMFVirtualHost
> VirtualHostFolder
>
> look in zope.org/Members/poster
>
> g
>
>
>
> On Wed, 2002-07-31 at 17:30, Chris Withers wrote:
>> Carl Rendell wrote:
>>> I'm looking to leverage skins a little more in a dual domain site
>>> instance, and I'm familiar with using access rules to set the skin
>>> preference cookie based on the domain name. (there was a
>>> discussion on
>>> the list about this a while back)
>>
>> Ooo... can you point me to that thread? This is something I'm
>> really interested in!
>>
>>> Question is... Is there another way to do this without using cookies?
>>
>> I was planning on customizing the skins tool to behave in just
>> this way...
>> ...or better yet in a mroe customizable way ;-)
>>
>> IIRC, there may be just one method of the SkinsTool class that
>> needs replacing...
>>
>> cheers,
>>
>> Chris
>>
>>
>> _______________________________________________
>> Zope-CMF maillist - Zope-CMF@zope.org
>> http://lists.zope.org/mailman/listinfo/zope-cmf
>>
>> See http://collector.zope.org/CMF for bug reports and feature requests
>
>
>
>
Carl E. Rendell
Solution43
Information Distribution Consulting | "Ahhhh the power of
cer@sol43.com | acquisition" - Chef Z