ZPT Equivilent of <dtml-var standard_html_header>
Hi. I'm diving into ZPT today, and and can't seem to figure out this seemingly simple thing. In a Zope Page Template document, what is the ZPT equivilent of <dtml-var standard_html_header> This: <p> <span tal:replace="here/standard_html_header"> standard_html_header </span> </p> works, but spits out only raw html instead of rendered html. What am I doing wrong? Thanks! Harlow Pinson Indepth Learning Email: hpinson@indepthl.com Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678
Read the ZPT chapter in the Zope book. You need to learn about macros (METAL) ...or as a quick fix, try: <span tal:replace="structure here/standard_html_header"> T.
Hi. I'm diving into ZPT today, and and can't seem to figure out this seemingly simple thing.
In a Zope Page Template document, what is the ZPT equivilent of
<dtml-var standard_html_header>
This:
<p> <span tal:replace="here/standard_html_header"> standard_html_header </span> </p>
works, but spits out only raw html instead of rendered html. What am I doing wrong?
participants (2)
-
hpinson@indepthl.com -
Tom Nixon