Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Before posting in this category, please read sticky topics and, as general background, My Joomla site template makes a mess of Kunena .

If you have questions about third-party templates, please use the User-written Templates category or contact the author directly. This category should only be used for questions about templates developed and supported by the Kunena project.

Question Kunena Customization Help

More
14 years 5 months ago - 14 years 5 months ago #112853 by sozzled
I found the code that does this (it took me an hour, because I'm not a developer, so it might be an idea to donate a couple of dollars to the project for my time).

The code is located in ../components/com_kunena/template/default/categories/categories.php (obviously!) between lines 101-113 shown below:
Code:
<td class="kcol-mid kcol-kcattopics"> <!-- Number of Topics --> <span class="kcat-topics-number"><?php echo CKunenaTools::formatLargeNumber ( intval($category->numTopics) ) ?></span> <span class="kcat-topics"><?php echo JText::_('COM_KUNENA_GEN_TOPICS');?></span> <!-- /Number of Topics --> </td> <td class="kcol-mid kcol-kcatreplies"> <!-- Number of Replies --> <span class="kcat-replies-number"><?php echo CKunenaTools::formatLargeNumber ( intval($category->numPosts) ) ?></span> <span class="kcat-replies"><?php echo JText::_('COM_KUNENA_GEN_REPLIES');?> </span> <!-- /Number of Replies --> </td>
You just have to flip the order of a couple of statements, and you're all done! B)
Last edit: 14 years 5 months ago by sozzled.

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

More
14 years 5 months ago #112976 by sunny33days
Thank you Sozzled for your help, however I really have no coding experience, how do I change this code?


Can you send me the paypal link and I'll make a contribution. If you can tell me exactly what to change it to, I would be very grateful, as I'm not sure how to change it.

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

More
14 years 5 months ago - 14 years 5 months ago #112980 by sozzled
I haven't tested what happens if you change the order of the existing code in ../components/com_kunena/template/default/categories/categories.php (between lines 101-113) like this:
Code:
<td class="kcol-mid kcol-kcattopics"> <!-- Number of Topics --> <span class="kcat-topics"><?php echo JText::_('COM_KUNENA_GEN_TOPICS');?></span> <span class="kcat-topics-number"><?php echo CKunenaTools::formatLargeNumber ( intval($category->numTopics) ) ?></span> <!-- /Number of Topics --> </td> <td class="kcol-mid kcol-kcatreplies"> <!-- Number of Replies --> <span class="kcat-replies"><?php echo JText::_('COM_KUNENA_GEN_REPLIES');?> </span> <span class="kcat-replies-number"><?php echo CKunenaTools::formatLargeNumber ( intval($category->numPosts) ) ?></span> <!-- /Number of Replies --> </td>
I did warn you that it was probably a non-trivial exercise and that it requires advanced Joomla/PHP programming expertise.

For donating to the Kunena project, go to the home page www.kunena.org/ and you will see the donation button fairly obviously displayed there. Thanks. We appreciate your support. :)
Last edit: 14 years 5 months ago by sozzled.

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

Time to create page: 0.274 seconds