On Tue, Feb 17, 2004 at 11:32:43AM -0800, LDT wrote:

>How do I set up a variable that the TMPL_IF and TMPL_ELSE can use to determine which 
>section of the HTML loop to process?

Set a new variable in the hash that forms the entry in @loop_data. Set it
to "1" for the special mode, and don't set it at all (or set it to "" or
0) for the normal mode.

If you post code fragments I'll show you how this can be done. Without
seeing your specific coding style, I can't do any better than the
various examples that are in the list archive.

Roger


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to