Link to User Edit screen in Admin

9 years 9 months ago #245907 by paul_mcdonald
Link to User Edit screen in Admin was created by paul_mcdonald
Hello ..
I have a custom component that refers to Users in Community Builder. I would like to make the User Name a hotlink to the Edit screen for the specific user. This is in the Joomla Admin area.

The link that shows when hovering over in Community builder itself is:
administrator/index.php?option=com_comprofiler&task=showusers&view=showusers#edit

There must be a way to inject a specific user id and be taken into the edit screen.

Can someone assist me?Thanks!

Please Log in to join the conversation.

9 years 9 months ago #246418 by paul_mcdonald
Replied by paul_mcdonald on topic Link to User Edit screen in Admin
Anyone? Is this possible?

Please Log in to join the conversation.

9 years 8 months ago #246428 by nant
Replied by nant on topic Link to User Edit screen in Admin

paul_mcdonald wrote: Anyone? Is this possible?


of course it is - your custom component needs to formulate the URL you already know by first grabbing the userid you are interested in.

This is really up to the logic of your component and Joomla api.

Please Log in to join the conversation.

9 years 8 months ago #246438 by paul_mcdonald
Replied by paul_mcdonald on topic Link to User Edit screen in Admin
But I built the URL in the component and it just takes me to the user listing in Community Builder and not to the specific EDIT screen for the user.

Please Log in to join the conversation.

9 years 8 months ago #246455 by nant
Replied by nant on topic Link to User Edit screen in Admin
Try this:

index.php?option=com_comprofiler&task=edit&cid=USER_ID_HERE

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.222 seconds

Facebook Twitter LinkedIn