Sign in to follow this  
Followers 0

Hiding the language chooser


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...
[code]
<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' />
[/code]

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

[code]
<!--<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' />-->
[/code]

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



0 Comments

There are no comments to display.