I have two sections, Projects, Portfolio. Obviously each of those have their own user home section which works good for me. However I'm wondering how I could link to the same user's page from the other home records page.
For example:
http://www.awesomescreenshot.com/image/426022/e352cfb5f5142b634cf0019a97c9cb2a
As you know I've been using the code:
$userId = JFactory::getApplication()->input->getInt('user_id');
To grab the current users data or you suggested the code for link to easy profile:
<a href="/../<?php echo Foundry::user($current_user->id)->getPermalink();?>"
I'm wondering if we could do something similary but link it to the same users OTHER section home page.
Thanks!
I have two sections, Projects, Portfolio. Obviously each of those have their own user home section which works good for me. However I'm wondering how I could link to the same user's page from the other home records page.
For example: http://www.awesomescreenshot.com/image/426022/e352cfb5f5142b634cf0019a97c9cb2a
As you know I've been using the code:
To grab the current users data or you suggested the code for link to easy profile:
I'm wondering if we could do something similary but link it to the same users OTHER section home page.
Thanks!