You can use the absolute_url() method to get an absolute URL to use for the link. Iirc the #tree tag also gives you an (undocumented, last time I checked) attribute called tree-item-url which you can access like so: <!--#tree ...--> <a href="<!--#var tree-item-url-->"><!--#var title_or_id--></a> <!--#/tree--> How would unlinking the folder names solve your problem? Wouldn't that make your tree virtually useless? -- Alexander Staubo http://www.mop.no/~alex/ "What the hell, he thought, you're only young once, and threw himself out of the window. That would at least keep the element of surprise on his side." --Douglas Adams, _The Hitchhiker's Guide to the Galaxy_
-----Original Message----- From: Daniel M. Drucker [mailto:dmd@eco.3e.org]On Behalf Of Daniel M. Drucker Sent: 23. juni 1999 22:26 To: Zope List Subject: [Zope] nav trees
I'm using a tree tag for a navagation system which you can see at http://www.3e.org/elena/ . The problem I'm having is that if you click on the title of a folder (instead of on the +/- like you're supposed to), you end up with another copy of the site nested in the target frame.
How would I make it so the folder names would *not* be links?
Daniel Drucker
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )