[Zope] creating link to parent container.

John Kipling Lewis jklewis@umich.edu
Wed, 21 May 2003 07:41:49 -0400 (EDT)


On Wed, 21 May 2003, [iso-8859-1] Nicolas =C9vrard wrote:

> is a link to the container of the page template. If this page template
> is acquired as in :
>
> http://.../site/animals/dog/waf/showPhoto with showPhoto a pt residing
> in animals, this link will point to http://.../site/animals.
>
> If you want to point to http://.../waf you should use
> 'here/absolute_url'.

I see the mistake I'm making now, we were looking at the index_html so my
URL looked like:

http://.../site/animals/dog/waf/

When I asked for "here/absolute_url" I got the same result.

If I'm in "http://.../site/animals/dog/waf/", how do I return:

http://.../site/animals/dog/

John -