DevFuse Forums: Hiding the language chooser

Jump to content

View All ProductsRandom Products

Main Page

Garage System



IP.Board: IPB 3.0.x
Price: $ 32.95
Main Page

Donation Tracker



IP.Board: IPB 3.0.x
Price: $ 34.95
Example PM

Moderator Action Alert



IP.Board: IPB 3.0.x
Price: $ 14.95
Global Messages Public View

Global Messages



IP.Board: IPB 3.0.x
Price: $ 21.95
Main Page

Timeslip System



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

Hiding the language chooser Bookmark

User is offline AndyF 

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

Find Posts Tutorial info

  • Added on: 27 November 2009 - 10:23 AM
  • Views: 751
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

Download this Tutorial:

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