That produced the entire url, but I want a link to the next higher container. For example if absolute_url returns: http://www.zope.com/animals/mammals/monkeys I want something that returns: http://www.zope.com/animals/mammals John - On Wed, 21 May 2003, Andreas Jung wrote:
try out absolute_url()
-aj
--On Dienstag, 20. Mai 2003 23:46 Uhr -0400 John Kipling Lewis <jklewis@umich.edu> wrote:
I'm having trouble finding a way to make a link to a parent container.
Something like this?
<a href="#" tal:attribute="href python:container.getURL">Link</a>
I can't seem to get this to work, and I'm sure there's a better way.
John -
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )