Hi


Beginning the get the hang of templates and am very pleased with it. I have a small problem however. I have a xx.tmpl that contains two loops,


tmpl_loop name=one and tmpl_loop name=two

now loop one can be empty while loop two is not and vice versa. Also both loops could be empty.

I have also added tmpl_if conditionals so that if there is no info in loop one a certain text is displayed. Which also works fine. The issue however is that if loop one is empty but loop two is not then the conditional should not apply. But since loop one is empty , i.e false, 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.

I've been trying different wasu with no success..either it cant be done or Iits just that my train of thought cant seem to leave the station.

Any help would be appreciated




------------------------------------------------------- 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

Reply via email to