I am working with this extension & found problem about language override. I saw it's taking the default Joomla language instated of changed language by module. I have checked the code & found that the overriding code hasn't been written under any event. So, I have added those code under
Code: Select all
onAfterDispatch()
Code: Select all
public function onAfterDispatch(){
// Lost database handler?
// here goes database
$lang = JFactory::getLanguage();
$config = JFactory::getConfig();
if ($config->get('mighty_langoverride')){
// our code
}
}
I ain't sure but above changes worked for me
Thanks