Page 1 of 1
[SOLVED] Multilanguage CSS Graphic Menu
Posted: Sun May 23, 2010 2:59 pm
by mr.bacan
I'm working on a two language website, English and Spanish, so I installed the 1.7.1 Multilingual version of CMSMS, my problem now is that I'm trying to make my CSS Dropdown Menu to work on both languages but my menu main links are graphics and I can't get around to make it work.
Here's the link with the sample menu
http://www.edvstudio.com/tucan/
Could someone please help me to make it work or at least point me to somewhere I can find a possible solution to this.
Thanks in advance.
Mr. Bacan.
Re: Multilanguage CSS Graphic Menu
Posted: Sun May 23, 2010 5:54 pm
by Peciura
Post your question to board 'CMSMS MLE fork' on
http://forum.cmsmadesimple.org/index.ph ... ,41.0.html.
Also post menu template and site tree.
Ask admin to delete this treat.
Re: Multilanguage CSS Graphic Menu
Posted: Sun May 23, 2010 10:01 pm
by janaf
I'm new around here so don't take my word for it but editing the template code and adding something like
Code: Select all
{if "$lang" eq 'es_ES'}
Spanish menue style here
{else}
English menue style here
{/if}
Re: Multilanguage CSS Graphic Menu [SOLVED]
Posted: Mon May 24, 2010 12:58 am
by mr.bacan
First of all sorry for posting on the wrong section but thank you all for answering so fast to my question.
The solution provided by Janaf worked like a charm, thanks man.
I used it by making 2 menu templates, one in Spanish and the other one in English and calling them with the little smarty you posted.
Thanks again.
Mr. Bacan.
Re: Multilanguage CSS Graphic Menu
Posted: Mon May 24, 2010 8:37 am
by janaf
Glad I can help!
Nice menues you have. Is the code available?
Now please go to your first posting in the thread and edit, add [solved] to the title

Re: Multilanguage CSS Graphic Menu
Posted: Mon May 24, 2010 8:40 am
by alby
Try to use as possible the $lang parameter without switch for avoid problems.
An example is
here
Alby
Re: Multilanguage CSS Graphic Menu
Posted: Mon May 24, 2010 9:35 am
by janaf
Albys suggestion is more generic and in that way better than my more hardcoded suggestion.
Re: [SOLVED] Multilanguage CSS Graphic Menu
Posted: Tue May 25, 2010 1:45 am
by mr.bacan
Thanks Alby, I'll try your method as well.
Janaf, I used this tutorial
http://www.noupe.com/tutorial/drop-down-menu-jquery-css.html for the menu.
Thanks again.
Mr. Bacan