DevFuse Forums: Hiding the language chooser

Jump to content

View All ProductsRandom Products

Logo View

Random Logos



IP.Board: IPB 3.1.x
Price: $ 14.95
Example PM

Moderator Action Alert



IP.Board: IPB 3.1.x
Price: $ 14.95
Main Page

Contact System



IP.Board: IPB 3.1.x
Price: $ 21.95
Example Topic

Auto Anniversary Greeter



IP.Board: IPB 3.1.x
Price: $ 10.95
Main Page

Timeslip System



IP.Board: IPB 3.1.x
Price: $ 18.95

Hiding the language chooser Bookmark

User is offline AndyF 

  • Member
  • Group: Customers
  • Posts: 26
  • Joined: 03-October 09
  • Gender:Male
  • Location:UK
  • IP.Board Version:IPB 3.0.x
  • First Name:Andy

Find Posts Tutorial info

  • Added on: 27 November 2009 - 10:23 AM
  • Views: 1,130
Description: How to hide the language chooser dropdown, useful if you only have one language installed as it serves no real purpose.

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. :)
0

Share:

Powered by (IM) Tutorials 1.1.0 © 2010, by Michael McCune