[Zope] folder like shortcut / symlink / pointer / urlredirect
Andreas Jung
lists at zopyx.com
Wed Oct 31 13:52:10 EDT 2007
--On 31. Oktober 2007 08:21:01 -0800 Ben Bartrum <bba at inbox.com> wrote:
> Hello
>
> The DTML code below populates a large menu with folders and their
> descriptions, however one of the items in the menu should now point to a
> URL on a different server. I can change the code - for example make it
> ordinary HTML, or add the new URL above or below, but I want to know if
> it is possible to make a folder-like object that points to the new URL,
> and will work with no change to the code below:
Why does it has to be a folder? You can simple add a PythonScript that
performs an URL redirection if called. You just have to added the script
and adjust your loop to find folders *and* PythonScript.
-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20071031/1f592ca6/attachment.bin
More information about the Zope
mailing list