HI,
i have spent hours and hours searching on the net and validating all my settings between the menu modules and the menus themselves but my conclusion is there is something wrong with the template.
I have bought Clarity to build my new multilingual site. I have english and french. I have created 3 menu modules (all, en fr) which are positioned in Hornav and 3 menus (all, en, fr).
I am on joomla 2.5 and use the native language switcher ( but some happens with Falang.
When the page opens in english the main menu appears just fine. When switching to french the french main menu does not appear.
The reason why i know it is an issue caused by the template is that if i choose another position for the french menu (i.e showcase) then the menu appears.
All the pages are there (although just duplicate of english for now).
You can test the phenomenon here: removed
I could really appreciate your help here. I would hate having to duplicate my template as well.
Cheers,
Tom
- tmigot
-
- Commercial Templates
- Thursday, 10 January 2013
- Subscribe via email
Hi Sebastian
Have you tried creating a separate template style for each of your languages?
Ciarán
Have you tried creating a separate template style for each of your languages?
Ciarán
- more than a month ago
- Commercial Templates
- # 2
hello,
i've same problem with multilanguage website (it should be a 4 languages website).
i've 2 separate menu modules for italian and english each with proper language, only the italian menu is displaied. i've try to put the fix in variables.php with past and copy but then the homepage become blank..
what i've do wrong?
thx a lot
i've same problem with multilanguage website (it should be a 4 languages website).
i've 2 separate menu modules for italian and english each with proper language, only the italian menu is displaied. i've try to put the fix in variables.php with past and copy but then the homepage become blank..
what i've do wrong?
thx a lot
- more than a month ago
- Commercial Templates
- # 3
Very nice Niclas.. a perfect solution I hadn't thought of 
Thank you for posting!
Ciarán

Thank you for posting!
Ciarán
- more than a month ago
- Commercial Templates
- # 4
Hello Ciaran.
I understand, but it will be quite hard to maintain a site with, say 4 active templates.
I made a small fix myself:
first I gave each menu its languagecode as menutype. English got en-gb as menutype and so on...
then this little fix in variables.php
//add varible for language
$language = $document->get("language"
;
//this line not needed
//$menu_name = $this->params->get("hornav_menu", "mainmenu"
;
//new line
$menu_name = $language;
This works, and I just need one template.
I understand, but it will be quite hard to maintain a site with, say 4 active templates.
I made a small fix myself:
first I gave each menu its languagecode as menutype. English got en-gb as menutype and so on...
then this little fix in variables.php
//add varible for language
$language = $document->get("language"

//this line not needed
//$menu_name = $this->params->get("hornav_menu", "mainmenu"

//new line
$menu_name = $language;
This works, and I just need one template.
- more than a month ago
- Commercial Templates
- # 5
Hi Niclas
In your Template Manager. Click on styles. You will see all the styles currently in your joomla installation. Select your default template style example - J51_Clarity style and duplicate it for each language you want.
Example one style for English and another style for German. In each of the styles then select the default language you want for that style. Now select the menu in the style for that particular language.
Ciarán
In your Template Manager. Click on styles. You will see all the styles currently in your joomla installation. Select your default template style example - J51_Clarity style and duplicate it for each language you want.
Example one style for English and another style for German. In each of the styles then select the default language you want for that style. Now select the menu in the style for that particular language.
Ciarán
- more than a month ago
- Commercial Templates
- # 6
I wonder if you could share the solution to the issue. I am having the same problem when setting up a multilingual site with a joomla51 template.
- more than a month ago
- Commercial Templates
- # 7
Glad to hear everything is now working well for you. Any further queries please feel free to contact us.
Ciarán
Ciarán
- more than a month ago
- Commercial Templates
- # 8
HI,, would like to thank Ciaran for his commitment to solve my problem. He has been very helpful and sorted my issues.
- more than a month ago
- Commercial Templates
- # 9
Thank you Tom for trying it. Admittedly it was a bit of a shot in the dark. Would it be possible to send me FTP access to the template folder of your Joomla installation?
Ciarán
Ciarán
- more than a month ago
- Commercial Templates
- # 10
Ciaran,
i have just applied your suggested solution but it results in having none of the menus (neither english, nor french nor all) appear. Basically it makes it worse.
I leave it for the next hours so you can see for yourself. attached is the variable.php as it is now.
I am wondering once the modifications are applied am i supposed to do something else with the main template code?
i have just applied your suggested solution but it results in having none of the menus (neither english, nor french nor all) appear. Basically it makes it worse.
I leave it for the next hours so you can see for yourself. attached is the variable.php as it is now.
I am wondering once the modifications are applied am i supposed to do something else with the main template code?
- more than a month ago
- Commercial Templates
- # 11
Hi Tom
Thank you for allowing us access.
Could I ask you to remove the following from your templates variables.php (../templates/j51_clarity/php/variables.php) and see if it would amend the issue..
And also the following..
If you could let us know if this works for you as if so it would indicate an issue with the template which we would have to address.
Ciarán
Thank you for allowing us access.
Could I ask you to remove the following from your templates variables.php (../templates/j51_clarity/php/variables.php) and see if it would amend the issue..
//Hornav Menu
$renderer = $document->loadRenderer( 'module' );
$module = JModuleHelper::getModule( 'mod_menu', "hornav_menu" );
$menu_name = $this->params->get("hornav_menu", "mainmenu");
$module->params = "menutype=$menu_name\nshowAllChildren=1\ntag_id=moomenu";
$hornav = $renderer->render( $module);
$hornav_font_color = $this->params->get('hornav_font_color');
$hornav_ddbackground_color = $this->params->get('hornav_ddbackground_color');
And also the following..
//Footer Menu
$renderer = $document->loadRenderer( 'module' );
$module = JModuleHelper::getModule( 'mod_menu', "footer_menu" );
$menu_name = $this->params->get("footer_menu", "mainmenu");
$module->params = "menutype=$menu_name\nendLevel=1";
$footermenu = $renderer->render( $module);
$footermenu_onoff = $this->params->get('footermenu_onoff');
If you could let us know if this works for you as if so it would indicate an issue with the template which we would have to address.
Ciarán
- more than a month ago
- Commercial Templates
- # 12
Hi Tom
May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com so we can examine this issue further.
Ciarán
May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com so we can examine this issue further.
Ciarán
- more than a month ago
- Commercial Templates
- # 13
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »