[Zope] Lookup parent folder URL and title?

Max M maxm@mxm.dk
Thu, 19 Jun 2003 12:07:32 +0200


Michael Fox wrote:
> Hi *,
> 
> Fairly simple question, in DTML I want to display a hyperlink on every page to navigate up one directory in my site, which should display the parent folder's title_or_id and absolute URL. eg.
> 
> <a href="&dtml-absolute_url;">parent title_or_id</a>
> 
> I'm not having much luck any help would be appreciated.

<dtml-var "PARENTS[0].title_or_id()">

regards Max M