[Zope] dtml-var in URL

Stephan Goeldi Stephan Goeldi" <goeldi@goeldi.com
Mon, 30 Sep 2002 11:24:54 +0200


What works for me, instead of
> > <dtml-if "print==yes">

or
> > <dtml-if "REQUEST.form['print']==yes">

is:

<dtml-unless "REQUEST.QUERY_STRING=='print'">

When I send an URL with:
www.site.com/someobject?print

this works fine. I can now exclude browser-related html for printversions