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

webmaster@zope.org webmaster@zope.org
Wed, 20 Nov 2002 12:14:41 -0500


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

---------------

      Next let's look at the navigation links. They create hyper links
      to browse previous and next batches. The 'tal:condition'
      statement first tests to see if there is a previous and next
      batch. If there is a previous or next batch, then the link is
      rendered, otherwise there is no link. The 'tal:attributes'
      statement creates a link to the previous and next batches. The
      link is simply the URL or the current page ('request/URL0')
      along with a query string indicating the start index of the
      batch. For example, if the current batch starts with index 10,
      then the previous batch will start with an index of 0. The
      'first' variable of a batch gives its staring index, so in this
      case, 'previous.start' would be 0.

        % Anonymous User - May 21, 2002 1:40 am:
         typo in last line:
         s/staring/starting/

        % Anonymous User - Nov. 20, 2002 12:14 pm:
         startling