Keyword

Comments counter

More
6 years 10 months ago - 6 years 10 months ago #166290 by Olegs
Comments counter was created by Olegs
I setup k2 comments only for registered users and comments counter(anchor) shows also only for registered users. But I need shows counter(anchor) for everyone.
Last edit: 6 years 10 months ago by Olegs.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #166369 by Krikor Boghossian
Replied by Krikor Boghossian on topic Comments counter
Hello,

In your overrides, locate this line:
github.com/getk2/k2/blob/master/components/com_k2/templates/default/category_item.php#L252

and remove this part:
&& ( ($this->item->params->get('comments') == '2' && !$this->user->guest)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum