User tests: Successful: Unsuccessful:
Adds missing imports and adapts some methods to language pack changes.
Edit your profile in frontend. Select editor, backend and frontend languages.
Add this code to components/com_users/tmpl/profile/default_params.php
:
HTMLHelper::register('users.editor', array(HTMLHelper::getServiceRegistry()->getService('users'), 'editor'));
HTMLHelper::register('users.language', array(HTMLHelper::getServiceRegistry()->getService('users'), 'language'));
View your profile.
No errors. Values are displayed correctly (e.g. Editors - CodeMirror
and English (United Kingdom)
)
Errors:
Class 'Joomla\Component\Users\Administrator\Service\HTML\Factory' not found
Class 'Joomla\Component\Users\Administrator\Service\HTML\LanguageHelper' not found
Raw values are displayed (codemirror
and en-GB
).
No.
Category | ⇒ | Administration com_users |
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-18 14:04:56 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
Thanks!
I have tested this item✅ successfully on 9ba4c42
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27783.