Forums

Fix for Multi Language problem

lowrykun 22 Jul, 2011
My installation: Chronoforms J1.6_V4_RC1.9 with Joomla 1.7

I was getting the following error when trying to use the multi-language action:

Notice: Undefined property: JLanguage::$_lang in /Applications/XAMPP/xamppfiles/htdocs/support-1.7/administrator/components/com_chronoforms/form_actions/multi_language/cfaction_multi_language.php on line 14

I changed line 14 from:
 if($lang->_lang == $params->get('lang_tag', '')){  //This is for Joomla 1.5


to:
 if($lang->getTag() == $params->get('lang_tag', '')){ //This works for Joomla 1.6/1.7


Then everything seems to work correctly.
GreyHead 23 Jul, 2011
Hi lowrykun,

Well found - I've added it to the running bugs post here

Bob
Max_admin 15 Aug, 2011
Thank you!🙂

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.