[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Zope Page Templates
webmaster@zope.org
webmaster@zope.org
Fri, 27 Dec 2002 16:06:18 -0500
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx#2-7
---------------
Page Templates use the Template Attribute Language (TAL). TAL
consists of special tag attributes. For example, a dynamic page
title might look like this::
<title tal:content="here/title">Page Title</title>
% Anonymous User - Sep. 10, 2002 11:15 am:
This info regarding TAL should have accompanied or preceded the part of Chapter 3 "Coding Logic with
Scripts", where I first came across it in some example code and had no idea what it was.
% Anonymous User - Oct. 4, 2002 9:26 am:
Where is the keyword "here" defined? Is this just defined for tal expressions only? What does it mean? Why
don't any of the docs explain it?
% Anonymous User - Dec. 27, 2002 4:06 pm:
See Appendix D. here means the object on which the page template will be applied. I know it is kind of
frustrating to read the Appendix first and then the basic chapter.