-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swap field descriptions 'user registration' (frontend) and 'user mana… #21961
Conversation
…gement' (backend) All field descriptions for optional fields in 'user registration' are "If required, please fill this field." This has no meaning to a regular user. In addition to that this description exists only once for all fileds. (not usable) On the other hand there is a single description for each optional user field in 'user management' which is unnecessary for admins or publishers. So my solution was to change line 259 in profile.php from: if ($app->isClient('site')... to: if (!$app->isClient('site')... This solved the problem (at least in my case). Mike
With this change, the description from plugin configuration is shown. E.g. |
@SharkyKZ is correct |
So what would you suggest ? (Or do you doubt the problem ?) |
As explained by @SharkyKZ it refers to the required/optional/disabled options from plugin config. |
Sorry, but what does that mean to me ? |
It means your proposed solution is not correct. Personally I would not use that plugin. You can achieve what you want with custom fields. |
If I got it right, you say I should not use Joomla - because it's the original Joomla plugin what we are talking about here !
Do you mean I should replace the original Joomla 'Users -> Manage -> Users:Edit -> User Profile' fields by 'Users -> Manage -> Users:Fields' ? |
If the plugin does not suit your needs then yes I would create the fields using Users -> Manage -> Users:Fields' |
…gement' (backend)
All field descriptions for optional fields in 'user registration' are "If required, please fill this field." This has no meaning to a regular user.
In addition to that this description exists only once for all fileds. (not usable)
On the other hand there is a single description for each optional user field in 'user management' which is unnecessary for admins or publishers.
So my solution was to change line 259 in profile.php
from: if ($app->isClient('site')...
to: if (!$app->isClient('site')...
This solved the problem (at least in my case).
Pull Request for Issue # .
Summary of Changes
Testing Instructions
Expected result
Actual result
Documentation Changes Required