Viewing 1 post (of 1 total)
  • Author
    Posts
  • kyovev Friend
    #172058

    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

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  kyovev 12 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum