New nivo slider has an HTML captions option, where instead of putting the title into the title attribute, you put an html ID into it, that points to a div containing html for your caption.
I think that adding a caption field to the view attachments_after could accomplish this with a fiew minor tweaks to the row preprocessor.
I set up a module that takes a 4th field option as a caption, and puts it in a
under an
that contains the title.
It would be cool to see it tested and possibly added to the next release (if it's not already being worked on). I'll continue testing and post back here any issues.
(see this possible problem: http://drupal.org/node/1125018)
Comment | File | Size | Author |
---|---|---|---|
view_nivo_slider_captions.zip | 3.26 KB | tmsimont |
Comments
Comment #1
tmsimont CreditAttribution: tmsimont commentedhmm that text got messed up by my attempt to put in references to html tags... should read:
I set up a module that takes a 4th field option as a caption, and puts it in a <p> under an <h2> that contains the title.
Comment #2
ChristianP CreditAttribution: ChristianP commentedHmm... I don't really understand how it works. I installed the module and changed my Row settings to Nivo Slider Captions or whatever it was called and configured the new Caption field to be Node: Body. All it does is print the body text from all my 4 Slideshow nodes in 1 spot (no shifting inbetween slides except the images themselves) and it also adds a text that prints "#captions-slider-img-[number]". What am I doing wrong?
Comment #3
tmsimont CreditAttribution: tmsimont commentedI believe your issue is that you're probably using the version of NivoSlider that came with the module -- see this post http://drupal.org/node/1125018
Let me know if upgrading doesn't fix it.
Comment #4
ChristianP CreditAttribution: ChristianP commentedYa it's okay now, I fixed it. I just tried the dev-module and it worked.
Comment #5
sohail.alee CreditAttribution: sohail.alee commentedi also have the same issue. i installed jquery update but still having same problem. will anybody guide me please.