Forums » SEPHP Help and Tips

Removing language scroll down menu from footer

    • 168 posts
    May 8, 2019 7:50 PM EDT

    How can I remove the language scroll down menu from footer.  See screenshot.


    • 168 posts
    May 14, 2019 10:28 AM EDT

    I really need to be able to do this.  Please help.

    • 168 posts
    May 21, 2019 6:11 PM EDT

    Can anyone help me with this? Thanks!

    • 3582 posts
    May 22, 2019 6:49 AM EDT

    I don't have time to test but check the file core/views/widgets/menu-footer/index.tpl and see if removing the language code works.

    <?php if( 1 !== count($this->languageNameList) ): ?>  -  <form method="post" action="<?php echo $this->url(array('controller' => 'utility', 'action' => 'locale'), 'default', true) ?>" style="display:inline-block"> <?php $selectedLanguage = $this->translate()->getLocale() ?> <?php echo $this->formSelect('language', $selectedLanguage, array('onchange' => '$(this).getParent(\'form\').submit();'), $this->languageNameList) ?> <?php echo $this->formHidden('return', $this->url()) ?> </form> <?php endif; ?>


    Test on a development site as there may be more to it than just removing that. It's a core edit so it'll be overwritten on upgrades and could cause issues. Core edits are not supported by SocialEngine and you assume all risks by doing them.

    • 168 posts
    May 22, 2019 7:44 PM EDT

    Thanks!  Where is the file "core" ?  It is not at the same location as the application folder. 

    • 3582 posts
    May 23, 2019 6:06 AM EDT

    When dealing with modules like this, it would be in the application/module folder :)

    • 168 posts
    May 23, 2019 12:56 PM EDT

    Looks like it worked!!  Thank you so much Donna! 

    • 3582 posts
    May 24, 2019 4:21 AM EDT

    You're welcome! Remember though, any source edits you make are overwritten on upgrade. I'll try to post in your other thread about it.