Replace Avatar with Profile Name

15 years 9 months ago #66387 by hungree
Replace Avatar with Profile Name was created by hungree
I have a client that wants to have, instead of the avatar showing above the login module, just the users profile name BUT as an active link to the users profile. Now I know that the Avatar currently is linked like this. Is there a way to replace the avatar with simply the users profile name while keeping the linking in tact?

I think I found the part of code I need to edit but thus far I just get errors when I edit it:

"<a href="'.sefRelToAbs("index.php?option=com_comprofiler&amp;task=userProfile".$andItemid).'" class="mod_login'.$class_sfx.'">';
echo '<img src="' . htmlspecialchars( $oValue ) . '" style="margin: 0px 1px 3px 1px; border-width:0px;" alt="'.$name
. '" title="'._UE_SHOW_POFILE_OF.$name.'" class="mod_login'.$class_sfx.'" id="mod_login_avatar'.$class_sfx.'" />';


ANY IDEAS?
echo "</a>"

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.156 seconds

Facebook Twitter LinkedIn