qpurser
06-13-2012, 12:28 PM
I would like to make the style chooser option available to certain user groups (some user groups allowed to change the style and the other user groups should only have the "standard" style with no options.
I probably could do this with a conditional in the footer template?
How would the conditional have to be coded?
THX for any help.
This is the code from the footer:
<vb:if condition="$show['quickchooser']">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="{vb:rawphrase quick_style_chooser}"><option class="hidden"></option></optgroup>
<vb:if condition="$quickchooserbits1">
<vb:if condition="$quickchooserbits2">
<optgroup label=" {vb:rawphrase standard_styles}">
</vb:if>
{vb:raw quickchooserbits1}
<vb:if condition="$quickchooserbits2">
</optgroup>
</vb:if>
</vb:if>
I probably could do this with a conditional in the footer template?
How would the conditional have to be coded?
THX for any help.
This is the code from the footer:
<vb:if condition="$show['quickchooser']">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="{vb:rawphrase quick_style_chooser}"><option class="hidden"></option></optgroup>
<vb:if condition="$quickchooserbits1">
<vb:if condition="$quickchooserbits2">
<optgroup label=" {vb:rawphrase standard_styles}">
</vb:if>
{vb:raw quickchooserbits1}
<vb:if condition="$quickchooserbits2">
</optgroup>
</vb:if>
</vb:if>