[ Solved ] Hot Flashes Menu and Multilanguage

More
11 years 9 months ago - 11 years 8 months ago #27436 by lorenzo.marvardi@gmail.com
Hi,

I've bought Hot Flashes Template with Hot Flashes Menu, everything work well but there is a big issue that involved the Multilanguage and the homepage.

I use 2 language ( English , Italian and others in the future ).
I want a big header in homepage 542px and a smaller header in all the internal pages 260px ( as in your example ).
But if i use the Joomla! Multilanguage automatically the homepage of the specific language become an internal page ( becouse the homepage is always the multilingual default page ) so always you see the internal header 260px ( never the homepage 524px ).

So i've disabled all the default article in both languages ( Italian and English ), in this way the menu works well but the Language Switcher disappear.

I've try do made one big top multilanguage menu or 2 different top menu language but in any case the problem stay.

How can manage this : header 524px in both Italian and English and all submenu in 260px with language switcher on the left ?

Many Thanks
Last edit: 11 years 8 months ago by lorenzo.marvardi@gmail.com.

Please Log in to join the conversation.

More
11 years 9 months ago #27454 by ivan.milic
Open index.php of template , find this line ~155:

<div class="<?php $menu = JSite::getMenu(); if ($menu->getActive() == $menu->getDefault()) { echo "not_"; } ?>interior_page">


instead of:

if ($menu->getActive() == $menu->getDefault())

put:

if ($menu->getActive()->alias == 'home-page-en' || $menu->getActive()->alias == 'home-page-it')

make sure aliases form menu items are:
home-page-en
and
home-page-it

Please Log in to join the conversation.

More
11 years 9 months ago #27485 by lorenzo.marvardi@gmail.com
Hi,

This solution works Well !!!

Thanks,

Please Log in to join the conversation.

Time to create page: 0.164 seconds
Powered by Kunena Forum