25 Apr
2000
25 Apr
'00
8:15 a.m.
Hi Jonathan, Jonathan Park wrote:
How can you add "<dtml-var standard_header>" by default(like newly created dtml method or doc in zope) to a newly created document made my a form.
(where is the question-mark? ;)
When they create a document using the form I want <dtml-var standard_header> to be included in the top of the body.
I tried <textarea><dtml-var standard_header></textarea> thinking it would work, but what resulted was not what i intened,instead i got the values in the variable, which makes perfect sense, now that I think of it.
Just try: <textarea><dtml-var "'<dtml-var standard_header>'"></textarea> to prevent Zope from touching the string with the parser. HTH Tino Wildenhain