Kunena 5.1.5 Released - Security Release (14 Oct 2018)

The Kunena team has announce the arrival of Kunena 5.1.5 [K 5.1.5] which is now available for download as a native Joomla extension for J! 3.8.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

× Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Question New unread Posts in Category?

1 year 10 months ago #1 by CarpeDiem
Since the new Kunena Version i have to completely rewrite my Kunena Template cause of the new template structure.
The rewrite work is almost done, but some informations at output are still missing.
How i can mark a Category, at the category index, when there're new posts inside? (same with subcategorys)

Now it seems like the forum outputs the category avatar, but at my old design i had icons for "unread posts inside" and "no unread posts".

I tried to find a function like $category->getUnread(); or something like that, but i failed.

Can you help me please?

Thank you very much in advance!

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

1 year 10 months ago #2 by 810
Replied by 810 on topic New unread Posts in Category?
<?php echo $this->getCategoryLink($category, $this->getCategoryIcon($category), '', null, true, false); ?>

you can check the code also on crypsis. then you have a example how to do it.

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

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