I would like to add an "if condition" based on style id, but am having difficulty with the correct syntax to use...
For example - if vbDefault style id =2 and NewGreat Style id = 4
I would like to be able to add an if condition to the widget templates- if browsing with vb default style id #2 - Display the widget; otherwise if browsing with NewGreat Style Id #4 - (DO Not Display the widget!)
Anyone willing to offer some assistance? Thanks so much, greatly appreciated!
Code:
<vb:if condition="$styleid=2">
Display widget
<vb:else />
Do not Display widget
</vb:else>