Keyword

Option "Related Items (by tag): how to get comments count for every item?

  • Viktoria Sab
  • Viktoria Sab's Avatar Topic Author
  • Offline
  • New Member
More
14 years 2 weeks ago #82704 by Viktoria Sab
Hi, folks!As far as I looked around, K2 has no specific configurable module “Related Items”, usable beneath a single publication. The only way to get a list of related is to use Item view option “Related items by tag”, isn't it?
OK, We are using this option, but... According to the project specification we need to get Title, as well as author's name, date, comments' count in every line of Related Items list.
We've already solved how to get date and authors, but comments count is a hard nut to crack... :) There is a part of code of com_k2\templates\default\item.php (attached txt).
What should be modified (added) in order to get the needful results?
I would appreciate any suggestions...Thanks.

Viki
Attachments:

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


Powered by Kunena Forum