Quote:
Originally Posted by sockwater
Code:
<if condition="$styleid = 3">show something here to style #3</if>
This will not work in templates that are evaluated in any scope other than the global scope unless $styleid is available in that scope.
|
As I've said, you can use the constant, STYLEID. Constants are not affected by scope. A implementation is demonstrated above this post by MoT3rror.