[Zope] newbie zope ? <dtml-var standard_header>

Jonathan Park jpark@amazingmedia.com
Wed, 26 Apr 2000 10:21:59 -0400


Thank you very much!
-jon

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Tino
Wildenhain
Sent: Tuesday, April 25, 2000 4:15 AM
To: Jonathan Park; Zope@zope.org
Subject: Re: [Zope] newbie zope ? <dtml-var standard_header>


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

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )