Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

Tutorial info Visit support topic

  • Added on: Nov 27 2009 10:23 AM
  • Views: 5459
 


Hiding the language chooser

How to hide the language chooser dropdown, useful if you only have one language installed as it serves no real purpose.

Posted by AndyF on Nov 27 2009 10:23 AM
ACP > Look / Feel > Manage Skin Sets / Templates > (edit that skin) > Manage Templates / CSS > "Global Templates" > Global Template

Scroll right down to the end then scroll up (easier as its about 7/8ths the way down)

Find...
<select name="langid" id='newLang'>
								{$footer_items['lang_chooser']}
						</select>
						<input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' id='newLangSubmit' />

Simply comment it out (add a <!-- to the start and a --> to the end, like this...

<!--<select name="langid" id='newLang'>
								{$footer_items['lang_chooser']}
						</select>
						<input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' id='newLangSubmit' />-->

And save. Repeat for each skin as required. :)

Powered by Tutorials 1.5.1 © 2016, by Michael McCune