- Posts: 2
- Thank you received: 0
Kunena 6.3.5 released
The Kunena team has announce the arrival of Kunena 6.3.5 [K 6.3.5] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.
Bug Joomla Menu path not used
when I have a Joomla menu item that shows a Kunena category, that menu item is no more selected when i choose some topic within that category.
Is this wanted behaviour?
In Joomla itself, a menu item linking to a category stays active when loading some content within.
You can test this very easy:
- Install a Joomla with sample data.
- Install Kunena with sample data.
- In the menu "main menu", create a "Show Category" menu item "a" that shows the category "Welcome Mat".
- In the frontend, select the item "a", then "Welcome to Kunena!". "a" is no more active.
This happens because Kunena sets Itemid=0. Having a look at KunenaRoute::_, i see a
Please Log in or Create an account to join the conversation.
It only accepts items as parents whose query parts (option, view, Itemid, ...) are _all_ the same as the link to generate.
The topic links in the category have all view=topic. But my menu link has view=category, of course.
I changed the
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
In Kunena 3.0.4 this part has changed so you can't aplly anymore this hacktantalus wrote: As it turns out, it was the last function in the KunenaRoute class.
It only accepts items as parents whose query parts (option, view, Itemid, ...) are _all_ the same as the link to generate.
The topic links in the category have all view=topic. But my menu link has view=category, of course.
I changed theintoCode:if ($value != $uri->getVar($var)) {in line 560 of libraries/kunena/route/route.php. Bad hack, but works for me .Code:if ($value != $uri->getVar($var) && $var !== 'view') {
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.