Keyword

Comments - Link on Authors name goes to their Blog?

  • Matt Medley
  • Matt Medley's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 3 months ago #86836 by Matt Medley
Hey, so in my K2 blog only super administrators are allowed to post articles. However, in the comments, when you click on a commenters name it opens their blog, which of course is blank because they don't have a blog. How can I make it so it doesn't link to their blog? It should link to the URL they enter in when posting and not link at all if they don't enter a URL. 
I tried switching to JComments for K2, but I much prefer the K2 native comment system. 

Thanks for your help!

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #86837 by Jiliko.net
Hi Codeless,

You can do this :

Make a K2 template overriding : doc here

Change you item.php k2 template file :

change '$comment->userLink' with '$comment->link' lines 560 & 561 (v2.3)

Olivier

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum