Yes. Thank you! beno At 07:22 PM 1/6/2003 +0100, you wrote:
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
--__--__--
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )