25 Mar
2003
25 Mar
'03
11:34 a.m.
Ria Marinussen wrote:
On my zope site I use some pythonscripts. I don't like them to be in the root of my site, but can't figure out how to access them when they'r not in the root.
For example the menu on top of my webpages is created depending on the main branche of my site. I use a python script for that by including it in my standard_dtml_header file like this: <dtml-var expr="topmenu('branch1')">
The pythonscript "topmenu" is in the rootfolder of my site.
Is it possible to move this script to a folder "scripts" and access the script on every page in my website? (How?)
- Create Folder 'scripts' - Move PythonScript 'topmenu' to Folder 'scripts' - Change standard_html_header to: <dtml-var expr="scripts.topmenu('branch1')"> HTH, -mj