Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1418

Administration Joomla! 3.x • Re: Restrict ability to edit-profile on front-end to specific user groups

$
0
0
Thank you Toivo, I really appreciate your answer.

I've followed the steps you've provided and implemented the code, however, when I log into my test account with permissions of the "Author" usergroup ( ID 3 ), the submit button appears to be disabled and I cannot click it.

Observing the button in inspect element, I can see that the input button has a "disabled" tag as seen below:

Code:

<button type="submit" class="btn btn-primary validate" disabled="">Submit</button>
If I remove the "disabled" from the button, I am able to click it and proceed, however, the password does not change as it warns me that I am providing an invalid name, username, and email. Prior to implementing the code, the ability to change my password works and does not throw the invalid inputs message.

Any ideas? I am still tinkering around with the code myself. Thank you again.

Statistics: Posted by ralphlorem — Tue Apr 30, 2024 6:56 pm



Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>