[SOLVED] Multilanguage CSS Graphic Menu

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
mr.bacan

[SOLVED] Multilanguage CSS Graphic Menu

Post 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.
Last edited by mr.bacan on Tue May 25, 2010 1:41 am, edited 1 time in total.
Peciura

Re: Multilanguage CSS Graphic Menu

Post 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.
janaf
Forum Members
Forum Members
Posts: 183
Joined: Sun Jan 10, 2010 7:02 pm

Re: Multilanguage CSS Graphic Menu

Post 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}
mr.bacan

Re: Multilanguage CSS Graphic Menu [SOLVED]

Post 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.
janaf
Forum Members
Forum Members
Posts: 183
Joined: Sun Jan 10, 2010 7:02 pm

Re: Multilanguage CSS Graphic Menu

Post 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  :)
alby

Re: Multilanguage CSS Graphic Menu

Post by alby »

Try to use as possible the $lang parameter without switch for avoid problems.
An example is here

Alby
janaf
Forum Members
Forum Members
Posts: 183
Joined: Sun Jan 10, 2010 7:02 pm

Re: Multilanguage CSS Graphic Menu

Post by janaf »

Albys suggestion is more generic and in that way better than my more hardcoded suggestion.
mr.bacan

Re: [SOLVED] Multilanguage CSS Graphic Menu

Post 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
Locked

Return to “[locked] CMSMS MLE fork”