Language files in front-end forms
Eduardo Mena
Junior Member
Posts: 31
9 lata 1 miesiąc temu - 9 lata 1 miesiąc temu #1001
przez Eduardo Mena
Language files in front-end forms was created by 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);
Ostatnia9 lata 1 miesiąc temu edycja: Eduardo Mena od.
Proszę Zaloguj lub Zarejestruj się, aby dołączyć do konwersacji.
Victor
Administrator
Posts: 19
9 lata 1 miesiąc temu #1007
przez Victor
Back-end developer on Component Creator
Replied by Victor on 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
Proszę Zaloguj lub Zarejestruj się, aby dołączyć do konwersacji.
Czas generowania strony: 0.048 s.