Closed (fixed)
Project:
Views Nivo Slider
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2011 at 09:19 UTC
Updated:
11 Aug 2011 at 18:06 UTC
Jump to comment: Most recent file
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!