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.190 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started