- Posts: 4
- Thank you received: 0
[ Solved ] Hot Flashes Menu and Multilanguage
-
lorenzo.marvardi@gmail.com
Inactive member - Topic Author
- New Member
Less
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
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 9 months ago #27454
by ivan.milic
Replied by ivan.milic on topic Hot Flashes Menu and Multilanguage
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
<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.
-
lorenzo.marvardi@gmail.com
Inactive member - Topic Author
- New Member
Less
More
- Posts: 4
- Thank you received: 0
11 years 9 months ago #27485
by lorenzo.marvardi@gmail.com
Replied by lorenzo.marvardi@gmail.com on topic Hot Flashes Menu and Multilanguage
Hi,
This solution works Well !!!
Thanks,
This solution works Well !!!
Thanks,
Please Log in to join the conversation.
Time to create page: 0.164 seconds