Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] 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.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

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.

K 2.0 support will cease on 31 August 2013 and this section of the forum will be closed and archived after that time and no further questions will be answered about this version.

Question Top Menu Alias Item for Kunema Forum Not Active on click

More
13 years 2 months ago #141330 by ernst67
Hi there Snitram,

I appreciate all the effort you are putting in, but alas... it's not working :-(
Maybe the Gantry framework is breaking something?

Anyway: I did install the default Kunena menu. Also, I'm using a menu alias from the main menu to get to the main "Forum" page in Kunena.

The class I found for the forum is:
<li class="item120 root" >
<a class="orphan item bullet" href="/.../index.php/forum" >

So I updated the script you gave me to:
Code:
<script> var isForumActive = <?php if (strpos($_SERVER['REQUEST_URI'], "/index.php/forum") !== false){ echo "true"; } else echo "false";?>; if(isForumActive){ $(".item120 root").addClass("active");} </script>

That didn't work, and I also tried the second script with no luck... :-/

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

More
13 years 2 months ago - 13 years 2 months ago #141331 by Snitram
Hey,

Try this $(".item120").addClass("active");

If it doesn't work try the second script with the "item120" class. If it still doesn't work try to put the script at the end of the index file.

Well it nothing of the above works out I can check why the script is not working using firefox's firebug. Is the website online?
Last edit: 13 years 2 months ago by Snitram.

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

More
13 years 2 months ago #141332 by ernst67

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

More
13 years 2 months ago - 13 years 2 months ago #141333 by Snitram
Hey,

Try this:
Code:
<script> var j = jQuery.noConflict(); var isForumActive = <?php if (strpos($_SERVER['REQUEST_URI'], "/forum") !== false){ echo "true"; } else echo "false";?>; if(isForumActive){ j(".item120").addClass("active"); } </script>

You also need to import the jQuery file.
<script src=" code.jquery.com/jquery-1.9.1.min.js ">

If it works you should download the script and put it in your website /media/system/js/ folder.

And then call the script:
$document->addScript(JPATH_SITE.’/media/system/js/jquery.js’ );
Last edit: 13 years 2 months ago by Snitram.

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

More
13 years 2 months ago #141334 by ernst67
Boohoohoo... no luck :-(

:-/

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

More
13 years 2 months ago #141335 by Snitram
You also need to import the jQuery file.
<script src="code.jquery.com/jquery-1.9.1.min.js"></script>

If it works you should download the script and put it in your website /media/system/js/ folder.

And then call the script:
$document->addScript(JPATH_SITE.’/media/system/js/jquery.js’ );

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

Time to create page: 0.449 seconds