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)

CommentFileSizeAuthor
view_nivo_slider_captions.zip3.26 KBtmsimont
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tmsimont’s picture

hmm 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.

ChristianP’s picture

Hmm... 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?

tmsimont’s picture

I 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.

ChristianP’s picture

Ya it's okay now, I fixed it. I just tried the dev-module and it worked.

sohail.alee’s picture

i also have the same issue. i installed jquery update but still having same problem. will anybody guide me please.