[Zope] ZPT Equivalent of <dtml-var title_or_id>
beno
zope@thewebsons.com
Sun, 05 Jan 2003 15:39:30 -0400
At 07:31 PM 1/5/2003 +0100, you wrote:
>beno schrieb:
>
>>What I want is the ZPT equivalent of this:
>>
>><dtml-var title_or_id>
>>
>>Does it exist??
>
>As the Zope API docs tell me, title_or_id isn't a DTML function but a
>method of the class ObjectManagerItem, which means it can be called on
>every (?) item in a folder.
Good insight. Thanks.
>So, try
>
>..."here/title_or_id"...
Closer. This returned the title_or_id of the *container* (folder), not the
document.
>and make sure your document is a ZPT...
yep. Any more ideas?
TIA,
beno