Keyword

[SOLVED] Re: K2 front-end save and close

More
More
12 years 2 months ago #66509 by Lefteris
Replied by Lefteris on topic Re: K2 front-end save and close
K2 has an option for loading jQuery. If you disable that option and want to load jQuery yourself then ensure that it gets loaded before K2 javascript files.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
12 years 2 months ago #66510 by Geno Peppino
Replied by Geno Peppino on topic Re: K2 front-end save and close

Lefteris Kavadas wrote: K2 has an option for loading jQuery. If you disable that option and want to load jQuery yourself then ensure that it gets loaded before K2 javascript files.


I'm sorry, I should have mentioned that I already tried that.

If I simply turn it off in the parameters, it won't have any effect at all.

I've also tried running Easy jQuery Plugin, with virtually every combination, but that's been fruitless.

I use K2 Flawlessly on every website, all with the same template framework, and the same extensions. So I can't figure this out.

Thankfully I'm not alone. There's five of us who have taken the time to express their troubles. But I definitely need specialized assistance, because I've done all I know to do.

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

More
12 years 2 months ago #66511 by Lefteris
Replied by Lefteris on topic Re: K2 front-end save and close
To get it more clear.... Check the page source to see if jQuery is loaded. If it is, make sure that k2.js is loaded after jQuery. If jQuery is not loaded you need to load it either by K2 settings or in your template. Also ensure that jQuery is not loaded more than one time.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
12 years 2 months ago #66512 by Geno Peppino
Replied by Geno Peppino on topic Re: K2 front-end save and close
Lefteris, I could kiss you. I checked the source code, and it was sticking out like a sore thumb.

GCalendar! I removed it, and K2 started working.

Now, I do use GCal on all my sites, so why this one has a conflict is beyond me. And why Easy JQuery didn't work is beyond me.

I'll keep messing with it.

Anyone else have GCalendar?

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

More
12 years 2 months ago #66513 by Geno Peppino
Replied by Geno Peppino on topic Re: K2 front-end save and close
If you're using GCAL, go to your gcalendar system plugin, and set JQuery to GCal "ONLY"!

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

More
12 years 1 month ago #66514 by Peter
Replied by Peter on topic Re: K2 front-end save and close

Geno Peppino wrote: If you're using GCAL, go to your gcalendar system plugin, and set JQuery to GCal "ONLY"!



I wish I had found this post a few days ago. It would have saved me a ton of headaches. Thank you for this solution!!!

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

More
12 years 1 month ago #66515 by Courtland Brower
Replied by Courtland Brower on topic Re: K2 front-end save and close
I have tried this with disabling K2's JQuery and adding it right under my mootools in behavior.php with this line...
function jquery() { JHTML::script('jquery.js','media/system/js/',false);}
and when I check my page for errors I only get one that is not related to jQuery
I am running Joomla 2.5.6 and K2 2.5.7
No matter what we do the save button will not close the box, did anyone ever get this fixed?

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

More
12 years 1 month ago #66516 by Courtland Brower
Replied by Courtland Brower on topic Re: K2 front-end save and close
I was able to get the window to close with "window.parent.location.reload();" but tho only problem with this is it doesn't wait for pictures to be uploaded before refreshing, desperate for an answer here. Really dont want to rebuild this site.

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

More
12 years 1 month ago #66517 by marianafrade
Replied by marianafrade on topic Re: K2 front-end save and close
HELLO EVERYBODY,

i m having the same problem.
desperate help needed

var elements = [parent.$K2('#sbox-btn-close'), $K2('#toolbar-cancel a')];
Uncaught TypeError: Property '$K2' of object [object Window] is not a function
$K2.each(elements, function(index, element){

thank you

M.

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


Powered by Kunena Forum