Have been using both the dev and beta1 release with same results. This has been working previously, but not sure what the issue is now.
I'm using views to produce the cycle view and using a timeout of 8000 with the "fade" effect.
The view is loading correctly, but the cycle is not. Both the cycle.js file and the inline js that should be added into the footer is not getting loaded. However, disabling/enabled the module makes the cycle work on the first page load. After any proceeding page loads, the cycle doesn't work. I'm not receiving any JS errors either (im assuming since the JS files are getting loaded in anyways). This problem seems browser agnostic.
No caching is enabled with no js/css compression.
It seems as though the template_preprocess_views_cycle() function doesn't get called at all. has there been a significant change to views2 that stops this from loading?
Comments
Comment #1
nedjoMay be a duplicate of #582808: Views cycle and cache. Please read that issue and, if so, mark this a duplicate.
Comment #2
divbox commentedI'm having the same problem.
Using Zen theme, and when I have it set to rebuild theme registry on every page load, template_preprocess_views_cycle is called.
When I turn off rebuilding the theme registry, it is not called. Only clearing theme registry cache allows this function to be called.
Looking at the generated source, the views_cycle js files are not loaded.
Looking at #582808: Views cycle and cache does not seem to be related here, as I do not have any caching turned on for this view.
I've tried manually calling template_preprocess_views_cycle(&$vars, $hook) but w/ no luck.
Anything else I should try?
Thanks!
div
Comment #3
Crell commentedPreprocess function not getting called except on theme rebuild sounds like this issue: #591804: Theme registry build bug: External file with template_preprocess is not loaded if tpl.php is copied into theme
Known core bug that hopefully will get fixed soon. :-) If the problem still exists in the latest version after that goes in, please reopen this issue.
Comment #4
divbox commentedThanks for the pointer Crell.
I can confirm that the patch in this comment has fixed the problem for me
http://drupal.org/node/591804#comment-2104580