Language files in front-end forms
Eduardo Mena
Navegador Junior
Posts: 31
9 años 3 meses antes - 9 años 3 meses antes #1001
por Eduardo Mena
Language files in front-end forms Publicado por 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);
Última Edición: 9 años 3 meses antes por Eduardo Mena.
Por favor, Identificarse o Crear cuenta para unirse a la conversación.
Victor
Administrador
Posts: 19
9 años 3 meses antes #1007
por Victor
Back-end developer on Component Creator
Respuesta de Victor sobre el tema 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
Por favor, Identificarse o Crear cuenta para unirse a la conversación.
Tiempo de carga de la página: 0.047 segundos