Quote:
Originally Posted by K4GAP
How can I limit a cms widget to a particular style?
The problem is I have only one light style and I design any widgets for the dark styles as there are more of them. I know I should stick with one style but I just can't choose .... they are all my babies 
|
So what you are looking for is to prohibit the loading of a widget in a particular style?
--------------- Added 23 Jul 2014 at 14:33 ---------------
A simple method, if you just have a few widgets to modify, is to surround the widget with a style ID conditional.
Code:
<!-- Do not display the current style if the current style is ID "6" -->
<vb:if condition="STYLEID != 6">
<!-- Widget Template Internals -->
</vb:if>
Unfortunately, this method does not save you any resources on the server side.