Hi all,
In comments list, I would like to link user's avatar to their profiles like the link in author name.
In item.php, I tried this :
<?php if($comment->userImage): ?>
<a href="<?php echo JFilterOutput::cleanText($comment->userLink); ?>" target="_blank" rel="nofollow"><img src="<?php echo $comment->userImage; ?>" alt="<?php echo JFilterOutput::cleanText($comment->userName); ?>" width="<?php echo $this->item->params->get('commenterImgWidth'); ?>" /></a>
<?php endif; ?>
It works but now when I click on athor name link, I have Error: 404
Thanks for help
In comments list, I would like to link user's avatar to their profiles like the link in author name.
In item.php, I tried this :
<?php if($comment->userImage): ?>
<a href="<?php echo JFilterOutput::cleanText($comment->userLink); ?>" target="_blank" rel="nofollow"><img src="<?php echo $comment->userImage; ?>" alt="<?php echo JFilterOutput::cleanText($comment->userName); ?>" width="<?php echo $this->item->params->get('commenterImgWidth'); ?>" /></a>
<?php endif; ?>
It works but now when I click on athor name link, I have Error: 404
Thanks for help