- Posts: 5
- Thank you received: 0
Kunena 6.2.6 released
The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Question Minimize button on forum table does not work and throws error.
- monmouthweb
- Topic Author
- Offline
- New Member
Error: jQuery.kunena_cookie is not a function
Source File: mykeld.com/components/com_kunena/templat...s/kunenaforum.min.js
Line: 120
website: mykeld.com/index.php?option=com_kunena&Itemid=123
What is this error and how do i enable the minimize? Love your product as well.
Thanks, Larry :silly:
Please Log in or Create an account to join the conversation.
The minimise gadget is Javascript-driven therefore Javascript a good place to start with the diagnosis. So we might need to look if there's some other Javascript-enabled feature that's interfering with this one.
Also, because the internet is stateless, a lot of state-handling - for example, "is the widget minimised or maximised?" - is done with cookies. I am guessing that this is how Kunena works, and your browser needs to be able to accept session cookies.
You might find a other tips in K 1.5.x Support: Please read this first.
So, let's start with the basics:
Kunena and version:
Kunena template (if not default_ex, what Kunena version was it made for):
Joomla site template:
Web browser and version:
By the way: nice website
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- monmouthweb
- Topic Author
- Offline
- New Member
- Posts: 5
- Thank you received: 0
if (jQuery.kunena_cookie("upshrink_" + imgId) == 1)
or any of these jQuery.kunena_cookie lines that come across throw this error? How do I allow the program to see the cookie function as a function and not throw the error
jQuery.kunena_cookie is not a function
--
I took out all of the previous JQUERY code in MY index.php of my template and just let the forum run without other supporting JQuery before it runs such as for my tab functionality and it works fine so I think[know] there is a conflict somewhere that is preventing it from running. Where should I begin to look for this conflict and what could theconflict be?
Thanks, Larry
Please Log in or Create an account to join the conversation.
This is where I would begin, by answering a few basic questions:monmouthweb wrote: Where should I begin to look for this conflict and what could theconflict be?
Kunena and version?
Kunena template (if not default_ex, what Kunena version was it made for)?
Joomla site template?
Web browser and version
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- monmouthweb
- Topic Author
- Offline
- New Member
- Posts: 5
- Thank you received: 0
Sometimes if mootools are loaded more than once, then a module may stop working and you may get a function not defined or such. You would then need to find the second+ (all of them) mootools declaration and remove them, but I guess that there may be an instance that you "back" into a module and the second one does not load mootools either and is not loaded at all but I have not run into this situation - YET.
This is for all people who have similar problems of "...Not a function"
As you know the easiest way to resolve this is to use jQuery.noConflict(); right after the jquery script declaration and then in all of "your" JQ functions must replace the $ with jQuery. Sometimes it gets tricky as to know if certian ones ($) need replacing, so I used trial and error, and replaced all then worked backwards if something went wrong. Most components set the noConflict and plays nice, but if not you have to do extra legwork. Also, you can use the following code which seems to work as well, without the need to change ever $ - I believe:
CODE:
(function ($) {...}
This did not help my situation. As seen in www.mykeld.com/ I have jQuery tabs on top that I designed and load every page. What needed to be done is this. Rest assured that the component or such gets inserted into the index.php of your template first. then, just before the end head tag place the following code. This will prevent it from loading twice.
CODE:
var JQ = typeof(jQuery);
if(JQ == 'undefined'){
document.write('<script type="text\/javascript" src="js\/jquery-1.4.2.js"><\/script>');
jQuery.noConflict();
}
This started to work fine but for some reason due to the server side and client side issue. The web page can not load the file [append to the page] after the page is loaded and running. I assume there may be some slick way to chage an elements src to equal the javascript library and include the file when needed but i have not found out how. The easiest way I have found to do this is to just use the PHP include, but then only RUN the code if undefined as in the following code:
if(JQ == 'undefined'){
<?php include("js/jquery-1.4.2.js"); ?>
jQuery.noConflict();
}
The problem might be that if you append the src to the dom when needed, a simple alert box might run but there may be things going on in the jQuery library that need to be initialized first before al other scripting runs. I am going to test a few simple external alert box scripts to see if they actually run when needed or not. There may be other factors as well.
Thanks for all of your help - Larry
Please Log in or Create an account to join the conversation.
- monmouthweb
- Topic Author
- Offline
- New Member
- Posts: 5
- Thank you received: 0
Kunena 1.5.12? I've set the table in the php to 703px like the others and you can see with firebug that it becomes 703px width but never gets resized? The rest of the code was unchanged. Seem ok in IE not in other browsers...
Example page:
www.mykeld.com/index.php?option=com_kune...mid=123&func=listcat
The rest works great - BTW I worked in NJ USA in IT with some blokes from Queensland. They loved their Vegemite on Vita-Wheat. Kept a bottle nearby at work. Actually one of them was Cameron Gregory of www.flamingtext.com/ fame, one of the oldest known (cool) Web Sites.
Thanks a bunch and G'day, mate!
Please Log in or Create an account to join the conversation.
Kunena template (if not default_ex, what Kunena version was it made for)?
Joomla site template?
Web browser and version
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.