Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 4, 201015 yr You might think of disabling the "choose language" area if there is only one language installed on the board. Less clutter, the better it is for SEO :D
February 4, 201015 yr You can easily hide the drop down from the template by hiding the following towards the foot of the globaltemplate<form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'> <fieldset> <input type='hidden' name='k' value='{$this->member->form_hash}' /> <input type='hidden' name='setlanguage' value='1' /> <input type="hidden" name="langurlbits" value="{$this->settings['query_string_safe']}&cal_id={$this->request['cal_id']}" /> <label for='newLang' class='hide'>{$this->lang->words['language_prefix']}</label> <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' /> </fieldset> </form>
February 5, 201015 yr I did this in one of my skins--it will be hidden unless there's actually more than one option available. I'll go grab the code. I agree that it should be in IPB by default, though. <if test="count(explode('value',$footer_items['lang_chooser'])) > 2"> <form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'> <fieldset> <input type='hidden' name='k' value='{$this->member->form_hash}' /> <input type='hidden' name='setlanguage' value='1' /> <input type="hidden" name="langurlbits" value="{$this->settings['query_string_safe']}&cal_id={$this->request['cal_id']}" /> <label for='newLang' class='hide'>{$this->lang->words['language_prefix']}</label> <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' /> </fieldset> </form> </if>
December 9, 201014 yr We copied a language by mistake. We can't even delete them, let alone hide them. I'd like to also suggest that there be an option added to ipb which allows us to hide all or some of the languages. Also, the only language that should be protected from deletion is the default language that comes with IPB.
December 9, 201014 yr and with Google do we really need native translations? http://translate.google.com/about/intl/en_ALL/tour.html#professional
Archived
This topic is now archived and is closed to further replies.