Home Forums Support TBTestimonials Testimonial Widget not cycling

Testimonial Widget not cycling

This topic is: resolved

This topic contains 5 replies, has 2 voices, and was last updated by  saggiatore 11 years, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
Author Posts
Author Posts
February 5, 2013 at 12:08 am #663

saggiatore
Participant
Post count: 2

Hi,

Love this plugin. I am having an issue though  and would love some insight. Everything was working fine, then all of a sudden the widget stopped cycling. In console I am getting this error ‘[cycle] terminating; too few slides: 1 ‘

I disabled all my plugins and still saw the issue. So the issue must be in the theme, but I disabled any scripts used in the theme and the problem still persists. Any ideas?

http://sandbox.designkrew.com/hdyaf/

Thanks!

February 5, 2013 at 3:53 am #664

Travis Ballard
Keymaster
Post count: 34

I’m not seeing the too few slides error but that usually happens when you have -1 set as the number to display. Doing that will show all of them in a single slide. Setting that to say 3 and then clicking ‘Loop through all testimonials’ will cause it to show 3 at a time and loop through all of them.

What I am seeing however looks to be caused by jQuery being added twice. One instance of 1.8.3 that ships with WordPress is loaded in the header, and one instance of 1.8.3 hosted on Google is loaded int he footer. This is also probably the reason that the advanced slider isn’t working either.

Thanks,,
Travis Ballard

February 6, 2013 at 9:16 pm #667

saggiatore
Participant
Post count: 2

Thanks for your quick response. So I removed the duplicate jquery version, enqueueing through functions.php. Slider and my themes jquery are working, but still the testimonials are not cycling. I checked my widget and I have display count set to 1 and loop through all testimonials checked. Still just sitting on the first testimonial.  Here is the error I am getting in console:

Uncaught TypeError: Cannot call method 'create' of undefined <a title="" href="//aonjhmdcgbgikgjapjckfkefpphjpgma/measureIt.js">chrome-extension://aonjhmdcgbgikgjapjckfkefpphjpgma/measureIt.js:120</a>

[cycle] terminating; too few slides: 1

February 6, 2013 at 10:45 pm #668

Travis Ballard
Keymaster
Post count: 34

Not seeing the TypeError but I am seeing the too few slides notice now. Do you mind setting me up an admin account so that I can poke around for a few?

February 6, 2013 at 10:52 pm #669

Travis Ballard
Keymaster
Post count: 34

It could also be because of the link in ul#tbtestimonials-widget, cycle expects a series of li elements, the anchor is probably throwing it off. Rework your output template so that the link is inside of the li element.

February 6, 2013 at 11:07 pm #670

saggiatore
Participant
Post count: 2

YEP!

It was the link I put in. Forgot about that. Thanks for your help! No messing with the source. Lesson learned. Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘TBTestimonials’ is closed to new topics and replies.