[Zope] Re: ZPT Equivalent of <dtml-var title_or_id>

Egon Frerich e.frerich@nord-com.net
Mon, 6 Jan 2003 19:22:20 +0100


Hi,
have you put a title in your ZPT? Or only the id? If you want the title 
or the id you have to say "template/title_or_id" or
"here/title_or_id".
Cheers,
Egon


Am 6 Jan 2003, um 11:54 hat zope-request@zope.org geschrieben:

> 
> Message: 2
> Date: Sun, 05 Jan 2003 13:06:40 -0400
> To: zope@zope.org
> From: beno <zope@thewebsons.com>
> Subject: [Zope] ZPT Equivalent of <dtml-var title_or_id>
> 
> I thought this would be easy but apparently it's not.
> The sample ZPT sheet in the 2.6 distro has this line of code:
> 
> <title tal:content="template/title">The Title</title>
> 
> Unfortunately, that doesn't render a thing! So, why is it there?? Someone 
> suggested this:
> 
> <title tal:content="here/title">The Title</title>
> 
> which sounded like a good idea, but no cigar. What I want is the ZPT 
> equivalent of this:
> 
> <dtml-var title_or_id>
> 
> Does it exist??
> TIA,
> beno 
> 
> 
> 
> 
> --__--__--
>