All I get is a list of images. The jquery.cycle.js is inside the modules folder, but it's like it's not kicking in. My head looks like this >------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------

Footer like this >------------------------------------------------------------------------------------

Comments

Diegen’s picture

Footer

<script type="text/javascript" src="/xampp/avanti2/sites/all/modules/views_cycle/jquery.cycle.js?A"></script>
<script type="text/javascript" src="/xampp/avanti2/sites/all/modules/views_cycle/views_cycle.js?A"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "views_cycle": { "views-cycle-Gallery-block_1": { "params": { "fx": "blindY", "timeout": 300, "pager": "#views-cycle-Gallery-block_1-nav", "pagerEvent": "click" }, "thumbnails": [ "\x3cdiv class=\"field-item\"\x3e\x3cimg  class=\"imagefield imagefield-field_gallery_pic\" width=\"380\" height=\"253\" alt=\"\" src=\"http://localhost/xampp/avanti2/sites/default/files/ist2_2544233-fairy-forest-ii.jpg?1254897217\" /\x3e\x3c/div\x3e\x3cdiv class=\"field-item\"\x3e\x3cimg  class=\"imagefield imagefield-field_gallery_pic\" width=\"380\" height=\"253\" alt=\"\" src=\"http://localhost/xampp/avanti2/sites/default/files/ist2_6739668-moraine-lake-canadian-rockies.jpg?1254897222\" /\x3e\x3c/div\x3e\x3cdiv class=\"field-item\"\x3e\x3cimg  class=\"imagefield imagefield-field_gallery_pic\" width=\"380\" height=\"254\" alt=\"\" src=\"http://localhost/xampp/avanti2/sites/default/files/ist2_2650104-people-walking-at-valley-forge-national-park_0.jpg?1254897226\" /\x3e\x3c/div\x3e" ], "use_pager_callback": 1 } } });
//--><!]]>
</script>
designbysoil’s picture

I am also getting a list of images.

Crell’s picture

Status: Active » Postponed (maintainer needs more info)

Without more information there's really nothing I can say here.

Diegen’s picture

What info do you need ?

I'll supply to your specs.

Diegen’s picture

I think first thing I should mention is that I am not using cck to create items for the gallery..

cck gallery1: image1
cck gallery2: image 2
cck gallery3: image 3

I am using 1 cck gallery with images uploaded directly into the node
cck gallery1: -image1, image2, image 3

I take it this is then not possible for the views cycle plug > ?

Crell’s picture

Wait, are you using CCK or not? :-) It shouldn't make a difference. Views_cycle works directly with Views, not CCK.

If you're getting no cycling effect, perhaps the Javascript isn't picking up? Try with Firefox and Firebug and see if there are any JS errors. Also make sure you have no caching enabled anywhere (Drupal or Views).

Diegen’s picture

I am using cck true, ;)

I'll check if I can pickup anything.

armyofda12mnkeys’s picture

Try clearing cache, see if jquery.cycle.js shows up. manually add to page.tpl.php just to test. i had to add it manually even when i cleared cache... then suddenly i noticed it showed up twice, and removed from page.tpl.php...

I dunno. it seems like i need to manually add it now (not showing up anymore).

Crell’s picture

The JS files are conditionally added only when the view is generated. If you use Views render caching, that gets skipped and therefore the JS files never get added. At this point views_cycle is not compatible with Views render caching (which was added to Views after this module was written).

I don't know of a way to fix that other than always adding the JS to every page, which I'm not wild about but we may have to do. Actually given the JS settings that need to get added that may not work either.

So yeah, verdict is this views_cycle is not compatible with Views render caching and I don't know how to make it compatible at this point.

zdean’s picture

subscribe

Crell’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Marking as a duplicate of: #582808: Views cycle and cache