• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: [SOLVED] Multilanguage CSS Graphic Menu
PostPosted: Sun May 23, 2010 2:59 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Fri Apr 03, 2009 11:29 pm
Posts: 117
Location: Panama
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.

_________________
Mr. Bacan.
If heaven gives you lemons, learn how to make lemonade.


Last edited by mr.bacan on Tue May 25, 2010 1:41 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Multilanguage CSS Graphic Menu
PostPosted: Sun May 23, 2010 5:54 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Thu May 14, 2009 8:11 pm
Posts: 1269
Location: Lithuania
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.

_________________
My best friends are: FAQ: How can I debug my code/site ?...showtemplate=false...module_customhow to create a patch, {process_pagedata}
And Yours ? :)


Top
 Profile  
 
 Post subject: Re: Multilanguage CSS Graphic Menu
PostPosted: Sun May 23, 2010 10:01 pm 
Offline
Forum Members
Forum Members

Joined: Sun Jan 10, 2010 7:02 pm
Posts: 183
I'm new around here so don't take my word for it but editing the template code and adding something like

Code:
{if "$lang" eq 'es_ES'}
Spanish menue style here
{else}
English menue style here
{/if}


Top
 Profile  
 
 Post subject: Re: Multilanguage CSS Graphic Menu [SOLVED]
PostPosted: Mon May 24, 2010 12:58 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Fri Apr 03, 2009 11:29 pm
Posts: 117
Location: Panama
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.

_________________
Mr. Bacan.
If heaven gives you lemons, learn how to make lemonade.


Top
 Profile  
 
 Post subject: Re: Multilanguage CSS Graphic Menu
PostPosted: Mon May 24, 2010 8:37 am 
Offline
Forum Members
Forum Members

Joined: Sun Jan 10, 2010 7:02 pm
Posts: 183
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  :)


Top
 Profile  
 
 Post subject: Re: Multilanguage CSS Graphic Menu
PostPosted: Mon May 24, 2010 8:40 am 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4820
Location: Ferrara, Italy
Try to use as possible the $lang parameter without switch for avoid problems.
An example is here

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Top
 Profile  
 
 Post subject: Re: Multilanguage CSS Graphic Menu
PostPosted: Mon May 24, 2010 9:35 am 
Offline
Forum Members
Forum Members

Joined: Sun Jan 10, 2010 7:02 pm
Posts: 183
Albys suggestion is more generic and in that way better than my more hardcoded suggestion.


Top
 Profile  
 
 Post subject: Re: [SOLVED] Multilanguage CSS Graphic Menu
PostPosted: Tue May 25, 2010 1:45 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Fri Apr 03, 2009 11:29 pm
Posts: 117
Location: Panama
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

_________________
Mr. Bacan.
If heaven gives you lemons, learn how to make lemonade.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner