Kunena 5.2 RC 1 Released (25 Oct 2020)

The Kunena team is thrilled to announce the first public release candidate of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 RC1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

× Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Solved SOLVED: Display Reply Count in Article Details

6 years 2 months ago - 6 years 2 months ago #1 by Oddy94

I want to display the total count of replies in my article details.
How can I access it?

I found out, that the variable %1d must have something to do with it.
PLG_KUNENADISCUSS_DISCUSS_ON_FORUMS="Discuss this article in the forums (%1d replies)."

Does anyone know how to get the total count of replies?
Last edit: 6 years 2 months ago by Oddy94. Reason: Problem solved

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

6 years 2 months ago - 5 years 7 months ago #2 by Oddy94

I've found a better solution for this problem!

I solved this by myself. Here a little guide.

1. This is how Kunena display the Comment Count (Link at the bottom).

2. I created a template override of the blog_item.php file of the prostar template (put it in the html folder of my own template). You may have to change this code in multiple "views"-files. But I think you know how this works. If not: docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core

The highlighted text is where Kunena makes the output of the "Discuss in Forum"-Link. Delete the item-sperator div and...

3. Insert the PHP-Line where you want to place the reply-counter.

4. Create a language override for PLG_KUNENA_DISCUSS_ON_FORUMS like I did it in the image.

5. This is how i want the comment count to look like. Just a counter in article details that links to the forum thread.

I hope this helped everyone with the same problem.
If you need help: info[at]oddymedia.com

Cheers, Oddy
Last edit: 5 years 7 months ago by Oddy94.

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

5 years 10 months ago #3 by gvour

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.109 seconds