* Thomas Nyman <[EMAIL PROTECTED]> [February 10 2005, 14:54]: > the conditional is displayed. What i need is something along the lines > if loop one is empty but not loop two then display loop two else > display conditional.
Pass additional boolean (not_one_and_two => [EMAIL PROTECTED] && @loop_two) from your Perl code and check it inside template with a simple <tmpl_if>. -- Alex Kapranoff, $n=["1another7Perl213Just3hacker49"=~/\d|\D*/g]; $$n[0]={grep/\d/,@$n};print"@$n{1..4}\n" ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Html-template-users mailing list Html-template-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/html-template-users