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

webmaster at zope.org webmaster at zope.org
Wed Nov 19 23:13:40 EST 2003

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


      DTML commands are written as tags that begin with *dtml-*.  You
      create dynamic content in DTML by mixing HTML tags and DTML tags
      together.  Inserting the value of a variable (a variable is also
      known as a "target") into HTML is the most basic task that you can
      perform with DTML.  Many DTML tags insert variable values, and
      they all do it in a similar way.  Let's look more closely at how
      Zope inserts variable values.

        % Anonymous User - Oct. 30, 2003 3:30 pm:
         Please indicate name for newbies of the DTML Method only Id of "pricelist" is indicated

        % Anonymous User - Nov. 10, 2003 9:49 am:

        % Anonymous User - Nov. 18, 2003 5:27 am:
         Genuine Newbie Question:
         1. What's the difference between the title and the id?
         2. What are the properties (attributes) of DTML documents used for?
         Perhaps you could give a simple example.

        % Anonymous User - Nov. 19, 2003 11:13 pm:
         1. The id is the reference - how to access the document you create. The title is just another property, that
         happens to be settable by default when you create it.
         2. Anything you want... you could use them like #define constants, so you don't have to search and replace
         if, say, a database table name changes.

More information about the ZDP mailing list