Language files in front-end forms
Eduardo Mena
Junior Lid
Posts: 31
9 jaren 1 maand geleden - 9 jaren 1 maand geleden #1001
door Eduardo Mena
Language files in front-end forms werd gestart door Eduardo Mena
In front-end forms, CC always loads the administrator language files.I always end up changing the path in order to load the front end language file.Im just wondering if this is made on purpose or if this is a minor bug.
$lang = JFactory::getLanguage();
$lang->load('com_my_component', JPATH_ADMINISTRATOR);
$lang = JFactory::getLanguage();
$lang->load(' com_my_component', JPATH_BASE);
Laatst bewerkt 9 jaren 1 maand geleden door Eduardo Mena.
Gelieve Inloggen of een account aanmaken om deel te nemen aan het gesprek.
Victor
Administrator
Posts: 19
9 jaren 1 maand geleden #1007
door Victor
Back-end developer on Component Creator
Beantwoord door Victor in topic Language files in front-end forms
Hi Eduardo,
Thank you for taking the time to report this issue. This problem has been patched so if you build your components, all of them will have the problem fixed.
Best regards
Thank you for taking the time to report this issue. This problem has been patched so if you build your components, all of them will have the problem fixed.
Best regards
Back-end developer on Component Creator
Gelieve Inloggen of een account aanmaken om deel te nemen aan het gesprek.
Tijd voor maken pagina: 0.049 seconden