rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: r][m on June 27, 2009, 04:27:29 PM
-
I'm trying to set up a visual flag to notify if any ip is banned
using this macro. I don't get any macro error, but I don't get any result
either.
{.if|{.from table|#ini|ban-list=.}|{:{!result 2.}|{.!result 1.}:}
/if.}
What I need it to do is:
If the ini ban list is empty one result, if not, then the other result.
Is this possible? Any help, anyone?
-
This is the exact syntax to be used without changing anything ;)
{.if|{.no pipe|{.from table|#ini|ban-list.}.}|{:{.!result 2.}:}|{:{.!result 1.}:}
/if.}
if you use it in a diff template , you have to define result 1 and result 2 into the main-tpl ;)
-
It works perfectly ;D
Many, Many, thanks for the help Mars
-
;)