Gantry 4 multilanguage menu

Gantry 4 multilanguage menu

Postby gsuez on Mon Sep 10, 2012 9:28 am

Hi,
how to add a responsive menu for each language?... you know, I must create a menu for language.
and the only responsive menu is add from Gantry admin.

is there a way to replicate that menu, for all languages?

Regards
User avatar
gsuez
Hero Rocketeer
Hero Rocketeer
 
Posts: 313
Location: Chile

Re: Gantry 4 multilanguage menu

Postby Henning on Mon Sep 10, 2012 9:30 am

You have to create a template style for each language.
In each style you have to choose the lang-specific-menu.
You need to assign the language specific styles to language specific menu-items ...
Gantry ... what else?
RT-Shirts ... check them out!
Get the new awesome RokPad ... my favourite editor!

3 hours of "trial and error" will save you 10 minutes of searching and reading
User avatar
Henning
Preeminent Rocketeer
Global Moderator
 
Posts: 21809
Location: Germany

Re: Gantry 4 multilanguage menu

Postby gsuez on Mon Sep 10, 2012 9:39 am

Thank you Henning,
for this issue, you know any tutorial?
I think it is important
User avatar
gsuez
Hero Rocketeer
Hero Rocketeer
 
Posts: 313
Location: Chile

Re: Gantry 4 multilanguage menu

Postby Henning on Mon Sep 10, 2012 9:46 am

Igor is working on a tutorial ...
Gantry ... what else?
RT-Shirts ... check them out!
Get the new awesome RokPad ... my favourite editor!

3 hours of "trial and error" will save you 10 minutes of searching and reading
User avatar
Henning
Preeminent Rocketeer
Global Moderator
 
Posts: 21809
Location: Germany

Re: Gantry 4 multilanguage menu

Postby gsuez on Mon Sep 10, 2012 10:34 am

I duplicate gantry
new name, Gantry default (es-ES) - for spanish language

from Gantry admin,
I assigned to language menu (assignaments) - spanish menu
in menu, public fusion menu, select the menu (Spanish) and position

That's all, thanks Henning!
User avatar
gsuez
Hero Rocketeer
Hero Rocketeer
 
Posts: 313
Location: Chile

Re: Gantry 4 multilanguage menu

Postby nican on Sat Sep 29, 2012 4:29 am

Henning wrote:You have to create a template style for each language.
In each style you have to choose the lang-specific-menu.
You need to assign the language specific styles to language specific menu-items ...


Assing the template style to each menu item is a very time consuming task if you have big menus...
is there a quicker way to do it? Maybe through phphmyadmin... but I 'm not an expert, in this case please suggest the exact query to run.
User avatar
nican
Jr. Rocketeer
Active Membership
 
Posts: 65

Re: Gantry 4 multilanguage menu

Postby Henning on Sat Sep 29, 2012 5:10 am

it's very easy imho. In gantry you have a tab "assignments".
Just check all the ones you want the template style to be assigned to.
Gantry ... what else?
RT-Shirts ... check them out!
Get the new awesome RokPad ... my favourite editor!

3 hours of "trial and error" will save you 10 minutes of searching and reading
User avatar
Henning
Preeminent Rocketeer
Global Moderator
 
Posts: 21809
Location: Germany

Re: Gantry 4 multilanguage menu

Postby nican on Sat Sep 29, 2012 5:19 am

Henning wrote:it's very easy imho. In gantry you have a tab "assignments".
Just check all the ones you want the template style to be assigned to.

mhhh... I have gantry 4.0.5, Kirigami template on joomla 2.5.x
and I don't see any "assignments" tab...

I do see instead a dropdown menu with name "default"
and options: "no, all, english,italian"
kirigami_multilanguage_menu.png

does it have anythign to do with multilanguage menus?
User avatar
nican
Jr. Rocketeer
Active Membership
 
Posts: 65

Re: Gantry 4 multilanguage menu

Postby nican on Sat Sep 29, 2012 5:23 am

Well, yes! it seems that that dropdown menu was the right option to manage multilanguage menus...

now I noticed another issue, when I am visiting the site in english (non-default language)
and I click on "home" menu item, I get redirected to the homepage in default language (which is italian) how can I correct this?


You may test here http://test.alkemica.net
User avatar
nican
Jr. Rocketeer
Active Membership
 
Posts: 65

Re: Gantry 4 multilanguage menu

Postby Henning on Sat Sep 29, 2012 5:26 am

see screenshot.
I guess you have an issue with your acl ...
Attachments
Safari-assignemnts.jpg
Gantry ... what else?
RT-Shirts ... check them out!
Get the new awesome RokPad ... my favourite editor!

3 hours of "trial and error" will save you 10 minutes of searching and reading
User avatar
Henning
Preeminent Rocketeer
Global Moderator
 
Posts: 21809
Location: Germany

Re: Gantry 4 multilanguage menu

Postby nican on Sat Sep 29, 2012 7:20 am

Henning wrote:see screenshot.
I guess you have an issue with your acl ...

I am logged in as super-user and I see "allowed" on all acl options.
Are we talking about the same gantry/template versions?
Because I don't see the "mobile" tab either (which is present in your screenshot)

Anyway... I was able to change the fusion menu automatically in different languages by using the dropdown options in gantry
multilanguage_menu.png


now I noticed another issue (but this was present also before) when I am visiting the site in english (non-default language)
and I click on "home" menu item, I get redirected to the homepage in default language (which is italian) how can I correct this?
User avatar
nican
Jr. Rocketeer
Active Membership
 
Posts: 65

Re: Gantry 4 multilanguage menu

Postby Henning on Sat Sep 29, 2012 7:51 am

you may want to go through Igor's tutorial:

index.php?f=662&t=176550&rb_v=viewtopic
Gantry ... what else?
RT-Shirts ... check them out!
Get the new awesome RokPad ... my favourite editor!

3 hours of "trial and error" will save you 10 minutes of searching and reading
User avatar
Henning
Preeminent Rocketeer
Global Moderator
 
Posts: 21809
Location: Germany

Re: Gantry 4 multilanguage menu

Postby nican on Sat Sep 29, 2012 8:18 am

I read the tutorial... I have already followed all the steps with success,
my only issue now is this:

when I am visiting the site in english (non-default language)
and I click on "home" menu item, I get redirected to the homepage in default language (which is italian), while I should be redirected to the english homepage. How can I correct this?


You may test here http://test.alkemica.net
User avatar
nican
Jr. Rocketeer
Active Membership
 
Posts: 65

Re: Gantry 4 multilanguage menu

Postby Henning on Sat Sep 29, 2012 8:51 am

to be honest it's been some time that I set up a multi lang. site.
In the languagefilter plugin ... did you enable automatic detection?
Gantry ... what else?
RT-Shirts ... check them out!
Get the new awesome RokPad ... my favourite editor!

3 hours of "trial and error" will save you 10 minutes of searching and reading
User avatar
Henning
Preeminent Rocketeer
Global Moderator
 
Posts: 21809
Location: Germany

Re: Gantry 4 multilanguage menu

Postby nican on Sat Sep 29, 2012 9:47 am

yes, automatic detection is on... but even if I turn it off I still ahve that issue
User avatar
nican
Jr. Rocketeer
Active Membership
 
Posts: 65

Next

Return to Gantry for Joomla

Who is online

Users browsing this forum: No registered users and 6 guests