[Zope] even more tree problems

Brian Lloyd Brian@digicool.com
Mon, 6 Mar 2000 14:33:47 -0500


> The problem no is getting the URL's of objects inside
> tree code - absolute preferred but relative would do
> if it was all that would work.  Tried all the solutions
> in the ObjectURLs howto but none of them work.  Any
> attempt to generate an absolute url gets the local
> name bit loses the path to the object.
> 
> Code below
> ----------
> where it says 
> <A HREF="&dtml-URL1;/silly" TARGET="ltscmain">
> 
> I need to get a url for current object.
> Logically, I need the equivalent of
> 
> "&dtml-url-<dtml-var id>>"
> 
> How can I do this?

If I'm understanding the problem correctly, try:

<dtml-var tree-item-url>

Hope this helps!


Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com