Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Add link to standard Joomla user profile? 26 Oct 2012 02:23 #4747

Wanted to know if it was possible using the author to add a link to take the user directly to the authors user page. Right now as I attempt to apply a link in the properties on the frontend default screen - it says I need to link to foreign, not sure what to do here?

Please Log in or Create an account to join the conversation.

Last edit: by hard1313.

Re: Add link to standard Joomla user profile? 26 Oct 2012 07:00 #4748

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
The issue here is that the users info in the sandbox is not accessible as they are pseudo-users.

For the time being at least, you will have to take the id of the user and dynamically create the link yourself in your view/layout. Something like;
echo '<a href=index.php?option=com_... &id=' . $user_id . '>' . $user_name . '</a>';
The way that joomla articles handles this is by creating a link to a contact page for the author as opposed to a 'profile' page - in J2.5 at least.

Anyway, you get the principle... So you can redirect it to any page you like based on the authors user id.

Hope this helps,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

Re: Add link to standard Joomla user profile? 26 Oct 2012 15:43 #4752

Thanks audibleid - let me give it a try.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.057 seconds

  I want to save the world...... let's cook a solution about it.
VeCrea (Forum)

Get Started