[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Creating Basic Zope Applications

webmaster at zope.org webmaster at zope.org
Mon Mar 15 11:19:25 EST 2004


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/SimpleExamples.stx#3-20

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

      Now, you need to incorporate the navigation method into the
      site. Let's create two DTML methods.  One will be used as a
      standard "header" for all pages within the site, the other a
      standard "footer".  Do this by first creating a DTML Method
      named *standard_html_header* in the *ZopeZoo* folder.  We will
      include the navigation links in the display of this method by
      referencing the *navigation* method via 'dtml-var'::

        <html>
        <head><title><dtml-var title></title>
          <!-- Changed by: Peter Sabaini, 05-Jan-2004 -->
</head>
        <body>
        <dtml-var navigation>

        % Anonymous User - Mar. 15, 2004 11:19 am:
         you should close the <head> tag:
         <html>
         <head><title><dtml-var title></title>
           <!-- Changed by: Peter Sabaini, 05-Jan-2004 -->

         </head>
         <body>
         <dtml-var navigation>

         Umberto



More information about the ZDP mailing list