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

webmaster@zope.org webmaster@zope.org
Sun, 22 Sep 2002 05:31:37 -0400

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


    In order to place dynamic text inside of other text, you typically
    use 'tal:replace' on a 'span' tag rather than on a bold tag.  For
    example, add the following lines to your example::

      The URL is <span tal:replace="request/URL">URL</span>.

      % kaleissin - May 16, 2002 2:49 pm:
       Better to replace the final 'URL' with something like 'http://www.example.com/' or 'this is replaced by a
       computed url' or similar, since this part is not magical and ought to serve as a reminder of what the final
       result will be.

      % Anonymous User - Sep. 22, 2002 5:31 am:
       /place dynamic text/place text dynamically/
       or leave the dynamo out, since "to place" already denotes an action in time.
       there is no "dynamic text", there is "dynamic placement"