Menu Home, with multilingual

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Jan 14, 2013 6:35 am
Reply with quote
Report this post
We do this code to make home in menu link to each default language. Templates/gk_bikestrore/layout /default.php
Code: Select all
           <?php if($this->API->get('show_menu', 1)) : ?>
<div id="gkMainMenu">
  <?php
   $menulang =& JFactory::getLanguage();
   $this->mainmenu->loadMenu($this->API->get('menu_name' . ($menulang->getTag()), 'mainmenu'));
   $this->mainmenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
  ?>
                   <div id="gkMobileMenu">
                        <?php echo JText::_('TPL_GK_LANG_MOBILE_MENU'); ?>
                        <select onChange="window.location.href=this.value;">
                        <?php
                            $this->mobilemenu->loadMenu($this->API->get('menu_name' . ($menulang->getTag()), 'mainmenu'));
                            $this->mobilemenu->genMenu($this->API->get('startlevel', 0), $this->API->get('endlevel',-1));
                        ?>
                   </select>
                   </div>
              </div>
              <?php endif; ?>

But any one any idea to make the home page work with SH404SEF? After I enable SH404SEF, the home page come without language code, while disable it, language code come with index.php?language=xxx
Thanks!
User avatar
Fresh Boarder

Konrad M
Wed Jan 16, 2013 11:52 am
Reply with quote
Report this post
Unfortunetly it is SH404SEF so please ask on their support.
User avatar


cron