[Zope] Display parent container title in Page Template
Dieter Maurer
dieter at handshake.de
Tue Aug 19 22:52:04 EDT 2003
hpinson at indepthl.com wrote at 2003-8-18 13:36 -0600:
> Hi. In a Page Template, how can I display the title property of a
> parent container, in this case, a folder?
>
> For example:
>
> Title: <strong><span tal:content="result/title">Item
> Title</span></strong><br>
>
> Returns the title of the page template document, but I need to show
> the title property of the folder that contains it.
>
> Folder (My Folder's Title)
> |__ content.htm (a Page Template)
>
> Ultimately the parent folder would have a title property for each of
> several languages.
When you mean the folder containing the template, you can reference it
as "container".
Dieter
More information about the Zope
mailing list