Active
Project:
jCarousel
Version:
7.x-2.4-alpha3
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jun 2011 at 13:47 UTC
Updated:
27 Oct 2011 at 07:32 UTC
The flow is the following.
- Clear cache, everything works ok.
- Do an operation that requires cleaning partially the cache and the jcarousel is breaking because the page doesn't include anymore jcarousel javascripts.
Comments
Comment #1
alinag commentedAfter searching a little bit the web I've found that this is a known problem. The caching is caching only the html, but it not adding the css.
My solution was to add jcarousel_add() to my template preprocess function.
Comment #2
sol roth commentedDid you add the entire function directly from the module? Can you give a little more detail on your fix? That would be awesome.
Comment #3
Equinger commentedI am using Views 3. I'm trying to figure out if most pagers take caching into account. I'm certainly not able to enable Views Content Cache on a Jcarousel based view. The display won't move past the first page. Paging basically works with infinite scroll and caching unless you have exposed filters.
Comment #4
Equinger commentedmaybe this is only an issue w/ Views 3? Can someone speak to this?
Comment #5
quicksketchYes this issue is very similar to #1296632: Compatibility with block caching. I suggest simply not using the render cache on jCarousels for the time being. This problem *should* be solvable in Drupal 7 with the new render API, but we have not yet implemented it in the jCarousel module.