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

Question JQuery an Mootol

More
17 years 2 months ago #2036 by Morktral
JQuery an Mootol was created by Morktral
As reported sometimes on Rockettheme (and some other) Fireboard (or the Template) has a problem with mootols and JQuery.

Is there a solution for this?

Will I there be same issue with Kunena?

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

More
17 years 2 months ago #2037 by phobos
Replied by phobos on topic Re:JQuery an Mootol
I think that you are referring to jQuery.noConflict(); method!

I had that problem with FireBoard and YooTheme and some jQuery modules.

The solution is quite simple.
FireBoard solution was in editing this file:
components/com_kunena/fireboard.php

Find this code:
Code:
// Add required header tags $mainframe->addCustomHeadTag('<script type="text/javascript" src="' . JB_JQURL . '"></script>'); $mainframe->addCustomHeadTag('<script type="text/javascript">
And add this:
Code:
// Add required header tags $mainframe->addCustomHeadTag('<script type="text/javascript" src="' . JB_JQURL . '"></script>'); $mainframe->addCustomHeadTag('<script type="text/javascript"> jQuery.noConflict();

This method can go anywhere after loading JQuery. This fix will not only work with JQuery and MooTools, but JQuery and any other frameworks it may have conflict with. They can be fixed in a similar way. A helpful hint if this doesn't work is to check if you're loading JQuery first, and then MooTools. If that's the case, you will want to switch the loading points of these frameworks, so that JQuery gets loaded later.


I hope this works on kunena forum too! (if there is that problem at all for someone)

SITE: Joomla 1.5.14 ¤ Kunena 1.5.5 ¤ CB 1.2.1
Live: PHP 5.2.10 ¤ MySQL 5.0.81 ¤ Apache 2.2.12
Local: PHP 5.2.9 ¤ MySQL 5.0.51 ¤ Apache 2.2.11 (¤)

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

More
17 years 2 months ago #2050 by johnnydement
Replied by johnnydement on topic Re:JQuery an Mootol
Yes it does, this is not a problem with kunena nor fireboard itself, but of rocketthemes, joomlart, and so many others using old/modified jqueries

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

More
17 years 2 months ago #2191 by Matias
Replied by Matias on topic Re:JQuery an Mootol
FireBoard didn't do jQuery.noConflict(), but Kunena does. Unfortunately there was some regression in 1.0.7b and most of the JavaScript didn't work.

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

More
17 years 2 months ago #2215 by fxstein
Replied by fxstein on topic Re:JQuery an Mootol
Going forward (K1.0.8) this should be a none issue. This has been fixed and we have upgraded to the latest jquery libraries. This site is running both mootols and jquery without problems.

The only issue left is with JomSocial which also loads another jquery version on our pages due to the integration - we need a fix for that but the impact is minor. It does however create those jquery.cookie errors.

We love stars on the Joomla Extension Directory . :-)

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

More
17 years 2 months ago #2243 by Matias
Replied by Matias on topic Re:JQuery an Mootol
Also other components may load their own jQuery. Those might break Kunena too..

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

Time to create page: 0.266 seconds