[Zope] Dark or light voodoo with properties
Mon, 1 Oct 2001 20:48:47 +1000
perhaps you should think in reverse...
set the properties on /web/ as defaults and then set the same name
properties on /black/ and /green/ as required.
The system will use local properties if it finds them and work its way up
the tree to find defaults - "Acquisition"
=> -----Original Message-----
=> From: email@example.com [mailto:firstname.lastname@example.org]On Behalf Of Ian J
=> Sent: Monday, 1 October 2001 7:03 PM
=> To: email@example.com
=> Subject: [Zope] Dark or light voodoo with properties
=> The problem is simple - I have a website and at the top level
=> there are some
=> properties defined. I now want to use exactly the same code but allow the
=> user to choose a different set of properties to use depending on
=> the URL ...
=> so given the following structure
=> /black/ /folder2
=> /green/ /folder4
=> /black/web/folder1 will give you folder1 with the black properties and
=> /green/web/folder1 will give you folder1 with the green
=> properties. I have a
=> feeling this is so simple I'll kick myself when somebody tells
=> me the answer
=> but I can't for the life of me find it at the moment in the
=> mailing lists.
=> OK - listen - I'll kick myself now - just to get some credit
=> rating >KICK<
=> Anybody out there who can help me?
=> Zope maillist - Zope@zope.org
=> ** No cross posts or HTML encoding! **
=> (Related lists -
=> http://lists.zope.org/mailman/listinfo/zope-dev )