Re: [htmltmpl] tmpl_loops and with if and unless
Brought to you by:
samtregar
From: Thomas G. <gi...@gm...> - 2005-02-10 12:19:58
|
Am Thu, 10.Feb.2005 um 12:54:23 +0100 schraubte Thomas Nyman: > Hi > > 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. Hi, this seems to be similar to my problem some days ago (TMPL_OR). Maybe you try solving it using HTML::Template::Expr, as well :) Cheers, Tom -- The world is coming to an end ... SAVE YOUR BUFFERS!!! |