Hello,
I've already searched this forum for a while, but could not find an answer to my problem. Basically I want to implement conditional sections which depend on two or more conditions.
e.g. a block "myblock" which should not show up depending on the state of the global vars a, b and c (pseudo-code follows)
<div>[myblock;block=div;when ([var.a]='foo' and [var.b]='bar') or [var.c]='foobar']
<p>[myblock.content]</p>
</div>
|
Is there any way to accomplish that on the template side or do I have to clear the blocks manually by merging the block on PHP-side using 'clear' after checking the values of a,b and c?
Any tips are appreciated, thank You. Keep up the good work!