The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Adding quick style chooser to a template
I found the code to add the quick style chooser but it looks like it's making a call to a JavaScript function that I can't seem to find.
Code:
<form action="{vb:raw vboptions.forumhome}.php" method="get" id="footer_select" class="footer_select"> <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> <vb:if condition="$show['languagechooser']"> <select name="langid" onchange="switch_id(this, 'lang')"> <optgroup label="{vb:rawphrase quick_language_chooser}"> {vb:raw languagechooserbits} </optgroup> </select> </vb:if> </form> P.S. - The style chooser is enabled and works on other themes. But this theme was written without one (stripped down mobile theme). Thanks. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|