Elxis CMS Forum

Support => Administration => Topic started by: Patricia on May 03, 2008, 06:59:45

Title: Suckerfish menu language
Post by: Patricia on May 03, 2008, 06:59:45
Hello Everyone,

I'm testing the multilingual capabilities of Elxis and so far I'm loving it, except for one thing: The suckerfish menu I use on my template, shows my main menu from all three languages, instead of just the chosen one. Can anyone here think of a solution?

Note: Please find attached the suckerfish.txt file.

[old attachment deleted by admin]
Title: Re: Suckerfish menu language
Post by: Ivan Trebješanin on May 04, 2008, 04:49:03
Sorry for delayed answer...you are probably using some joomla template, and joomla doesn't have multilingual support.
Try something like this:
Code: [Select]
$query = "SELECT * FROM #__menu "
. "\n WHERE menutype = '" .$menu. "' "
. "\n AND access IN( " . $my->allowed . " ) "
. "\n AND ((language LIKE '%$lang%') OR (language IS NULL))"
. "\n AND published = '1' "
. "\n ORDER BY '" .$order. "' "
Title: Re: Suckerfish menu language
Post by: CREATIVE Options on May 04, 2008, 14:29:00
Also take a look at datahell post:
https://forum.elxis.org/index.php?topic=1974.msg11681#msg11681
Title: Re: Suckerfish menu language
Post by: Patricia on May 04, 2008, 19:31:18
Quote
you are probably using some joomla template
Actually Ivan, it's more like a combination template with bribes of code from different places and maybe that's why it doesn't work the way it should but as I'm far from being a PHP god like you....

Anyhow, I'll try your fix and let you know if it works.

Thank you so much,

Patricia