[Zope] [Fwd: [Zope] How to create a trigger?]

Fredrick Rybarczyk - LUB NetLab Fredrick.Rybarczyk@lub.lu.se
Thu, 02 Sep 1999 14:34:28 +0200


Oops, forgot to cc the list, this tip from Kevin is pretty useful ..

> Thanks a lot Kevin, your snippet did the trick except for a small typo noted
> below. Thanks also to Evan for walking me through variable passing under
> different circumstances.
> Cheers,
> Fredrick
>
> > How about this (untested):
> >
> > <dtml-if show_content>
> >  <a href="&dtml-URL;">Press this to hide content</a>
> > <dtml-else>
> >  <a href="&dtml-URL;&show_content=1">Press this to show content</a>
>
>                                            ^ '&' should be '?'
>
> >
> > </dtml-if>
> >
> > <dtml-if show_content>
> > ...your content
> > </dtml-if>
> >
> > Kevin

--
==========================================
Fredrick Rybarczyk
Research Engineer
NetLab, Lund University