Active
Project:
Dynamic Rendering
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2009 at 14:44 UTC
Updated:
28 Jul 2010 at 21:54 UTC
I am using views slideshow to display some featured content and dynamic rendering only replaces the header of the first slide. The other slides don't have anything at all for their titles anymore, it's just blank.
Comments
Comment #1
Rob_Feature commentedYup, just want to confirm this issue on my end as well. Must be some kind of problem with the two javascripts clashing?
Comment #2
i-sibbot commentedI concur. Having sifr v3 target and replace selectors in nodes that are used in a views slide show results in the first displayed node in the slider rendering correctly. The rest, previouslt hidden slides havent had the sifr triggered on there content. Reading around it looks as if sifr has problems with hidden divs being rendered. Something about have to call sIFR.replace() function when the div is being displayed.
Comment #3
froboyI was able to get around this issue in a slideshow that used jquery.cycle - it looks like Views Slideshow might be a little more complex, but here's my solution in the hopes that it might help:
Basically, as i-sibbot said, you need to call your sIFR.replace() function when the slideshow transition has finished for each new slide to be displayed. jquery.cycle has an "after" option with which you can call another function. Using that, I created a new function which contained the entire sifr.replace(mysiteblahblahswf... line from sifr3-rules.js and then called that after each transition. The text loads just after the transition, and once it's loaded once it's there for good.
My code (at the bottom of my page-front.tpl.php):
Good luck, hope this helps.