XF 1.4 language_chooser in forum_list?

rafass

Well-known member
I would like to use this language Chooser in my Homepage:
r-2015-05-08-at-22-04-24-jpg.105653

like here: https://xenforo.com/community/misc/language/
Code:
<xen:title>{xen:phrase language_chooser}</xen:title>

<xen:container var="$head.metaNoindex"><meta name="robots" content="noindex" /></xen:container>

<xen:require css="chooser_overlay.css" />

<div class="section" data-overlayClass="chooserOverlay">

    <h3 class="subHeading">{xen:phrase select_language_in_which_this_site_should_be_shown}</h3>

    <ol class="primaryContent chooserColumns threeColumns">

        <xen:foreach loop="$languages" value="$language">
            <li><a href="{xen:link 'misc/language', '', 'language_id={$language.language_id}', '_xfToken={$visitor.csrf_token_page}', 'redirect={$redirect}'}">{$language.title}</a></li>
        </xen:foreach>

    </ol>

    <div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase cancel}</a></div>

</div>
But using trying to use that code in forum_list there are errors in the template or simple doesn't work.
Any idea?
Many Thanks!
 
Thank you maru, but no. I know that, but maybe I can not explain myself clearly.
I have it, sure, [in the footer - left] and open the typical overlay.
but I would like to have this chooser in forum_list above the forums
aaa1-gif.106305
not in /misc/language/ , not opening the chooser in a new tab, disabling overlays, other places or methods, no.
in forum_list above the forums. Simple as that ;)
Seems this is a tricky customisation.
 
Top Bottom