2

I've created a custom component that collects user inputted data, and redisplays it in the back end, similar to a contact form. I'm currently trying to set it up so that in both the list and item views, there is a direct link to the Edit User page should a user_id by associated.

Going from my list page doesn't have any problems, but when going from inside an item, I get the error message: You are not permitted to use that link to directly access that page (#user_id).

The link being used to direct to the Edit User page is index.php?option=com_users&view=user&layout=edit&id=*user_id*

Is there something inherently wrong that I'm doing?

0

Try this link:

index.php?option=com_users&task=user.edit&id=*user_id*
  • Can you add a bit of explanation to this answer please? – mickmackusa Jul 22 '18 at 13:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.