Page 1 of 1

JoomFish: Include menu item's "Menu Image" in translation?

Posted: Thu Jul 20, 2006 12:39 pm
by Nic
Is there a way to add the "Menu Image" parameter of menu items to the translation? I need to have language dependent menu images.

Thanks in advance!

Nic

Re: JoomFish: Include menu item's "Menu Image" in translation?

Posted: Fri Jul 21, 2006 9:17 am
by akede
Hi Nic,

from the Joom!Fish point of view not directly. The parameters of a module can't be translated.


The only idea I get is that you are using a little adapted mod_mainmenu which will try to find those images in a subfolder such as 'de_menuimage', 'en_menuimage' if the Fish is enabled. This should do the trick.

Most effective solution could be using a different style sheet based on the language (a bit of a change in your template code). Then you have full control over all images within your site.

Alex

Re: JoomFish: Include menu item's "Menu Image" in translation?

Posted: Tue Jul 25, 2006 11:19 pm
by Nic
Thanks Alex. I was hoping it'd be possible to add a menu item's "Menu Image" to the content elements's xml file in some way. Now I use a combination of both your suggestions (required by the sort off css rollovers I am using), a - slightly - modified mod_mainmenu.php and a language dependend css switch.

Thanks for your time!

Nic

Re: JoomFish: Include menu item's "Menu Image" in translation?

Posted: Sun Aug 20, 2006 12:18 pm
by _Arno_
Nic wrote: ...Thanks Alex. I was hoping it'd be possible to add a menu item's "Menu Image" to the content elements's xml file in some way. Now I use a combination of both your suggestions (required by the sort off css rollovers I am using), a - slightly - modified mod_mainmenu.php and a language dependend css switch...
Hi Nic,

I have the same problem that you had. Can you give some more Details about your solution please?
Thank you very much!

Regards
Arno

Re: JoomFish: Include menu item's

Posted: Sat Dec 11, 2010 2:06 pm
by vimal
i think this code will help you ! how you can change the stylesheet based on langauges

<link rel="stylesheet" href="/_?php echo $this->baseurl ?>/templates/_?php echo $this->template ?>/css/_?php echo $this->language ?>.css" type="text/css" />