HTML::Template, is it possible to nest <TMPL_VAR> inside a <TMPL_IF>?
am 04.06.2007 22:58:05 von Val Schumantrying to do
is something like this possible? if not, any workarounds?
trying to do
is something like this possible? if not, any workarounds?
Val Schuman schrieb:
> trying to do
> is something like this possible? if not, any workarounds?
>
You want to do this (I think):
do something
This prints "do something" if "myvar" is set. If not, the whole block
will be deleted.
Greetings, Bianka
On Jun 5, 4:35 am, Bianka Martinovic
wrote:
> Val Schuman schrieb:> trying to do
> > is something like this possible? if not, any workarounds?
>
> You want to do this (I think):
>
>
> do something
>
>
> This prints "do something" if "myvar" is set. If not, the whole
> block will be deleted.
It prints "do something" if "myvar" is set *to a true value*. If it's
set to 0 or "", the block will be skipped.
Paul Lalli
Val Schuman wrote:
> trying to do
> is something like this possible? if not, any workarounds?
>
Not exactly what you are looking for I think but a loop inside a loop example (working).
Tim
On Jun 6, 1:00 pm, Paul Lalli
>
> It prints "do something" if "myvar" is set *to a true value*. If it's
> set to 0 or "", the block will be skipped.
>
That's what I meant. ;)
Greetings, Bianka