10 Sep
2003
10 Sep
'03
8:54 p.m.
Tobias Herp wrote at 2003-9-10 14:28 +0200:
... So my idea is to put the language and layout information into the URL, e.g. www.my-site.com/en/default/home/ for the english version of the '/home' page, using the 'default' layout, and add the REQUEST variables which are set internally during traversal to the key variables used by the RAM cache manager.
I reckon I need to write a __bobo_traverse__ method for my site class (in this example, rewritten to the virtual host www.my-site.com) and return the 'home' page, inserting the appropriate REQUEST variables. Is there a How-To anywhere concerning this?
You can also use a SiteAccess AccessRule for this purpose. There is a HowTo on Zope.org (a bit outdated, be careful). Dieter