Missing Style Chooser In vB4 Styles
by
06 Sep 2013
Rating: (1 vote
- 5.00 average)
I have seen quite a few styles that is missing the Style Chooser in the footer. This is due to the fact that the developer did not upgrade the style properly. So if you are getting a footer that looks something like this: http://s96.photobucket.com/user/ozzy47/media/footer1.png.html You will need to edit the footer template of the style. ACP --> Styles & Templates --> choose your style and select Edit Templates Then scroll down in the list till you find the template named, footer. Double click on that then search for this bit of code: Code:
<vb:if condition="$show['quickchooser']"> <select name="styleid" onchange="switch_id(this, 'style')"> <optgroup label="{vb:rawphrase quick_style_chooser}"> {vb:raw quickchooserbits} </optgroup> </select> </vb:if> Replace that with the following code: Code:
<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> <vb:if condition="$quickchooserbits2"> <vb:if condition="$quickchooserbits1"> <optgroup label=" {vb:rawphrase mobile_styles}"> </vb:if> {vb:raw quickchooserbits2} <vb:if condition="$quickchooserbits1"> </optgroup> </vb:if> </vb:if> </select> </vb:if> http://s96.photobucket.com/user/ozzy47/media/footer2.png.html Hopefully this will help some of you out with your styles. |