Joomla.it Forum

Componenti per Joomla! => Gestione sito multilingua => : joomla-freak 14 Jan 2008, 18:55:25

: conflitto joomfish! con extended menu?
: joomla-freak 14 Jan 2008, 18:55:25
Ciao!
ho istallato moduli con il menu extended perņ poi aggiungendo la componente di joomfish! prima del menu appare un messaggio di errore:
Extended Menu
Deprecated use of Mambelfish. Request URL : /edc/index.php?option=com_login&Itemid=30
Please contact the author of this component/module/mambot with the details in this message.
In the meantime the following function reference can be commented out and translation should not be affected.
File : loader\menu.menuloader.class.php
Line : 96
Function : translate


poi nella riga 96 del file c'e scritto:

   $rows[$id]         = MambelFish::translate($objectList[$id], 'menu', $mosConfig_lang);

perņ non so cosa vuol dire.
Sono compatibili il modulo del extended menu con joomfish, cosa  devo fare perchč funziona??
GRAZIE!!
saluti
joomla-freak

: Re: conflitto joomfish! con extended menu?
: mawer 04 Feb 2008, 14:30:46
ecco la soluzione

molto semplice

If you are using JoomFish you may get the following message:
In the meantime the following function reference
can be commented out and translation should not be affected.

 cause
This is because the Extended Menu is backward compatible to MambleFish while JoomFish still appears to be MambleFish but then JoomFish causes the message to appear instead of being either not or fully backward compatible to MambleFish.


 solution
Workarounds would either have Extended Menu to be aware of JoomFish (which seems unnecessary since it is not supposed to call any method anymore) or remove the backward compatibility to MambleFish completely. The best solution might be to make JoomFish not pretend to be MambleFish anymore.

This was found and tested by a user and not myself:
In mambots/system/jfdatabase.systembot.php there is the following line which you can uncomment/remove:

$GLOBALS[ 'mosConfig_mbf_content' ] = '1';

You may also find an old entry for mosConfig_mbf_content in your configuration.php.
Make sure it is either removed or set to '0';

Feel free to raise a bug report at JoomFish (if there is no such entry already).