Hello, i did some modifications of this module but i can’t figure out how to echo the jomsocial user profill instead of the joomla user profile.
This is the code i need :
[PHP]
<?php if ($params->get(‘greeting’)) : ?>
<?php if($params->get(‘name’) == 0) : {
echo JText::sprintf($user->get(‘name’));
[/PHP]
this line [PHP]echo JText::sprintf($user->get(‘name’));[/PHP] executes the message “Hello Username”. I just want the word Username to be link to the jomsocial profile page This is the url to the jomsocial profile page index.php?option=com_community&view=profile .
I tried this .echo JText::sprintf(‘<a href=”index.php?option=com_community&view=profile”>’$user->get(‘name’))'</a>’;
Can you help me to do this simple modification?
Regards, Yovev