Hi!

I get this error when I'm trying to use the views slideshow 7.x-3.0 module.
It says:
Cannot set property 'targetId' of undefined views_slideshow_cycle.js:16

If I don't include jQuery 1.7.2 in the template.php file, the slideshow works but other jQuery scripts don't.

The slideshow works in the preview of the view, but not when I visit the page with the slideshow block in it.

Please help me!

Comments

subscribed

FireFox FireBug

TypeError: settings is undefined
settings.targetId = '#' + $(fullId + " :first").attr('id');

Chrome

Uncaught TypeError: Cannot set property 'targetId' of undefined
settings.targetId = '#' + $(fullId + " :first").attr('id');

views_slideshow_cycle.js line 16

this errors only if user not authorized

Priority:Normal» Critical

I can confirm this happens when the same view generates two displays (blocks) and these are placed in the same page.

Splitting them into two separated views solved the problem for me

Title:Cannot set property 'targetId' of undefinedConflict when two slideshow-displays from the same view are placed in one page (Cannot set property 'targetId' of undefined)
Category:support» bug
Priority:Critical» Normal

subscribe

Issue summary:View changes

I was able to work around this by changing the machine name of the View display which was not working. It's under Advanced > Other in your View settings.