PDA

View Full Version : Language Selector In NavBar??


TF4U
04-24-2011, 03:01 AM
Hi Frnds!
I was try to move the language selector from Footer to Right Side of Breadcrumb but its not working correctly! I'm using the code
<li style="float: right;">
<form action="{vb:link forumhome|nosession}" method="get" id="footer_select" class="footer_select">


<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>
</li>
Its returning the form but no languages are appearing. I have attached the screen shot of the language selector. Please suggest something!!

https://vborg.vbsupport.ru/attachment.php?attachmentid=128471&stc=1&d=1303617547

Da-Vinci
04-24-2011, 09:01 AM
Looks like this is probably where your problem is.

<form action="{vb:link forumhome|nosession}" method="get" id="footer_select" class="footer_select">

Not quite sure what you would change but this is the part I would be looking to change as you've moved it from the footer to the Navbar.

TF4U
04-24-2011, 11:39 PM
Yes, you were right! That was the main problem!
Anyways, I found a solution using https://vborg.vbsupport.ru/showthread.php?t=254356

Thanks