Hi, I have an application that displays pages from a folder. The List is defined by looping over the objects. If I create a link of the type folder/ObjectID, each time I select the link I end up with a url like Letters/Letters/Letters/.../Letter1 Is there an equivalent of <dtml-with Letters> <dtml-var Letter1> </dtml-with> in ZPT. TIA Dave
David Kyte wrote:
I have an application that displays pages from a folder.
The List is defined by looping over the objects. If I create
a link of the type folder/ObjectID, each time I select the link
I end up with a url like Letters/Letters/Letters/.../Letter1
you want the absolute_url rather than the ObjectID there ;-)
Is there an equivalent of
<dtml-with Letters> <dtml-var Letter1> </dtml-with>
in ZPT.
...not exactly, but I'm not convinced that's what you want anyway ;-) <tal:x replace="structure here/Letters/Letter1"/> ...might well do it, though... cheers, Chris
participants (2)
-
Chris Withers -
David Kyte