[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates

webmaster@zope.org webmaster@zope.org
Thu, 26 Sep 2002 15:33:22 -0400

A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#2-22


    You can reuse presentation elements across pages with *macros*.
    Macros define a section of a page that can be reused in other
    pages.  A macro can be an entire page, or just a chunk of a page
    such as a header or footer. After you define one or more macros in
    one Page Template, you can use them in other Page Templates.

      % Anonymous User - Sep. 26, 2002 3:33 pm:
       Macros defined in one Page Template are accessible through the *macros* attribute of the defining template.