Keyword

[SOLVED] Ratings in k2 does not work

  • Brian Law
  • Brian Law's Avatar Topic Author
  • Offline
  • New Member
More
13 years 1 month ago #99746 by Brian Law
[SOLVED] Ratings in k2 does not work was created by Brian Law
I have looked for solutions on this board and others.  But no answers so far.  What can I do to fix the star ratings in K2 Items?  The stars show and "light up" during mouse-over, but clicking on any stars does nothing.  Example page ... 395.com/index.php/component/k2/item/282-ranch-motel.html#

 

Thanks for any help/suggestions

 

Brian

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

More
13 years 1 month ago #99747 by William Gollinger
Replied by William Gollinger on topic Ratings in k2 does not work
I'm having a problem very similar to this.  It's not a K2 rating system that is causing me problems, but just any jQuery code.  Have you tried the Firebug plugin for Firefox?  When I view your site with it I get 6 errors, and among them is the error that I keep getting: "Uncaught TypeError: Object [object Object] has no method 'addEvent' " in the file k2.js, line 13.

 

I came here to resolve this problem for myself.  Can anyone tell us what is wrong with this line?

 

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

More
13 years 1 month ago #99748 by William Gollinger
Replied by William Gollinger on topic Ratings in k2 does not work
Update: I disabled K2 plugins to see what would happen.  The "addEvent" problem left, but I found a number of mootools errors.  I searched "mootools" in my Joomla plugin manager and found "System - Upgrade Mootools" was disabled.  After enabling it, my jQuery rating system works fine.  I turned K2 back on to find the "addEvent" error still there, but the rating system still works.

 

So, try turning on "Upgrade Mootools" and if that doesn't work, I dunno.

 

I'd like to get rid of this "addEvent" error, but if it's not causing any real problems then I guess it's not a big deal.

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

  • Brian Law
  • Brian Law's Avatar Topic Author
  • Offline
  • New Member
More
13 years 1 month ago #99749 by Brian Law
Replied by Brian Law on topic Ratings in k2 does not work
Yes I enabled Upgrade Mootools.  Did not work.

 

Anybody?  Very frustrating

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

More
11 years 5 months ago #99750 by Pagemakers
Replied by Pagemakers on topic Re: Ratings in k2 does not work
Hi Brian,

Looking all over the internet having the exact same problem on www.sanmusic.nl. Using a template from Templatemonster with K2 and Gantry framework.

Did you find a solution already?

Or anybody who reads this?

Thank you!

Regards

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

More
11 years 5 months ago - 11 years 5 months ago #99751 by Brad Haas
Replied by Brad Haas on topic Re: Ratings in k2 does not work
Hi Monique,

I had the same thing, I think it might be due to the ordering of how your jquery library is loaded, that's how I fixed, by messing with that.

Also, when I looked at your source, its got jquery loaded three times, once before the k2.js file and once after.
Log in  or Create an account to join the conversation.

More
11 years 1 month ago #99752 by theandygram
Replied by theandygram on topic Re: [SOLVED] Ratings in k2 does not work
I am experiencing the same problem here:

theandygram.com/broadway-reviews/2013-2014-season/Broadway-Review-FIRST-DATE-a-Tacky-Addition-to-Broadway.html#

The errors I am seeing in Firebug are:

ReferenceError: jQuery is not defined

$(document).addEvent('domready', function() {

core.js (line 214)
TypeError: $(...).addEvent is not a function

$(document).addEvent('domready', function() {

Any suggestions would be most appreciated.

Thanks,
Andy

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