By: saibal
Date: 2007-10-16
Time: 14:48
|
Special condition
Hi,
I used for long time a simple template engine. Now i want to use Tinybutstrong and it's really powerfull.
With the old template engine i have a scenario like this:
<IF NAME="res_guide">
xxx
<LOOP NAME="dati_guid">
{guid_name}
{guid_desc}
</LOOP NAME="dati_guid">
</IF NAME="res_guide">
How can i replicate this condition with TBS?
My problem is that i haven't html structure in this template
thanks
|
By: Skrol29
Date: 2007-10-16
Time: 15:30
|
Re: Special condition
Hi,
It could be something like this:
[onload;block=begin;when [var.dati_guide]=1]
xxx
[dati;block=begin]
[dati.guid_name]
[dati.guid_desc]
[dati;block=end]
[onload;block=end]
|
|
By: saibal
Date: 2007-10-16
Time: 15:35
|
Re: Special condition
thank you! it works!
|
|
Posting in progress.
Please wait...
|