Elxis CMS Forum
Support => Administration => Topic started 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]
-
Sorry for delayed answer...you are probably using some joomla template, and joomla doesn't have multilingual support.
Try something like this:
$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. "' "
-
Also take a look at datahell post:
https://forum.elxis.org/index.php?topic=1974.msg11681#msg11681
-
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