Hello,
i´m new on TBS and i have a problem with conditions. Thats code i have problems with:
<div>[onload;script=[var.mode]/[var.mode].php;subtpl;getbody;if [var.mode]!=0]</div>
<div>[onload;file='tpl/error_mode.html';getbody;if [var.mode]=0]</div>
|
Whatever the value of mode is both [onload] scripts will be executed.In fact i want that the first [onload] will be executed when "mode" is not 0 and the second [onload] when mode is 0, but this doenst work and i dont know why. the value of [var.mode] is right.
I hope somebody can help me :)
with regards
raven22k