[Zope] PARENTS and the with tag
Ethan Fremen
mindlace@majordomo.net
Tue, 09 Nov 1999 11:41:21 +0000
Alice Gutman wrote:
>
> Thanks for explanation. Here's what I'm trying to do. I need to generate
> a table of contents that uses relative links. I'm doing the TOC
> recursively with a method called dtml_tree, and it works fine except for
> the relative links.
I guess I don't understand why the url can't be absolute... just do:
<dtml-if "id!=calledFrom.id">
<a href="<dtml-var absolute_url>"><dtml-var title_or_id></a><br>
instead of:
<dtml-if "id!=calledFrom.id">
<a href="<dtml-var relative_url>"><dtml-var title_or_id></a><br>
--
Ethan "mindlace" Fremen
you cannot abdicate responsibility
for your ideology.