×
Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release 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 B1 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 must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question Kunena forum menu item do not show the “active” menu button

More
1 year 8 months ago #1 by Chacapamac
Kunena seem to be aware of the problem,

This is on a Rockettheme template

This is my unsucessfull test - Any help welcome
Note: When Kunena forum menu item is clicked it add the class “com_kunena” to the body tag

• I add the following code snippets into the Template (Supra) administration
Extensions > Templates > Styles > Base Outline > Page Settings > Atoms > Custom CSS / JS in the Inline Javascript section

Saddly they don’t work even if I place them (or not) before the Before </body> tag

Note: My menu item button for the forum is;
<li class="g-menu-item g-menu-item-640 g-menu-item-type-alias g-standard">
        <a class="g-menu-item-container" href="/Joomlagraf/graf3/index.php/forum-menu-fr">
            span class="g-menu-item-content">
                    <span class="g-menu-item-title">Forum</span>
            </span>
        </a>
  </li>

Script I try... Obviously I’m not a champion in javascript coding...

Script one:
document.addEventListener('DOMContentLoaded', function() {
  if($(‘body’).hasClass(“com_kunena”)) 
     $(“li.g-menu-item-640).addClass(“active”);
});

Script two:
document.addEventListener(‘load’, function() {
  if($(‘body’).hasClass(“com_kunena”)) 
     $(“li.g-menu-item-640).addClass(“active”);
});

Any help is welcome :P

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.199 seconds