Hello
Then you have a slideshow where each picture should have a text overlay you only get the text overlay in the last picture in the slideshow.
So if you have a slideshow with picture 1 with text AAA and picture 2 with text BBB and sort order 1 first you will get:
Picture 1 without overlay and then picture 2 with text overlay BBBB
IF you change sort order to 2 first you get:
Picture 2 without overlay and then picture 1 with text overlay AAA
This is tested in Firefox 3.6 and 4.0. If you instead try it in Chrome you wont get any overlay at all!
Using Views 3.0 Beta 3
Regards
Oscar
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | missing_caption-1129802-7.patch | 1.2 KB | ckng |
| #5 | missing_caption-1129802-5.patch | 1.81 KB | ckng |
Comments
Comment #1
ideogram_nl commentedHi,
I noticed the same behaviour. It's caused because the HTML simply isn't there. There should have been two div's with captions, and there is only one.
Comment #2
brenes commentedExperiencing the same behaviour with views 7.x-3.0-beta3. The caption only shows in the last slide. Any Idea how to solve this issue?
Comment #3
SanFeda commented"The caption only shows in the last slide."
Same with me
Comment #4
Zsuffa Dávid commentedChange in file views_nivo_slider.module lines around ~166:
from:
$title_id -> $title solved the issue for me.
This works only with txt captions not the html version.
This way nivo_slider use the img title attribute instead of the nivo-html-caption div.
I think the problem is with the $view->_vns_captions array which is overridden always with the last title value.
Around line 132 in the .module file:
Comment #5
ckngThis is due to
$view->_vns_captionsnot retained across field rendering.Attached is a patch using
$view->resultto achieve the intended output.Comment #6
ckngComment #7
ckngJust realized there is an easier way.
Comment #8
ckngComment #10
SpiffBB commentedCan also confirm that the latest dev version from august 4:e is working as it should. Great work!