O'Reilly logo

Drupal 7 Development by Example Beginner's Guide by Kurt Madel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Colorbox File enhancements

We added the Colorbox File module to our d7dev site in the previous chapter to display the images (and eventually other media types). However, one thing that I know I would like for our recipe-related media is to have customizable captions for images that will be displayed in the Colorbox overlay. Currently, the Colorbox File module displays the word Media as the caption for all media content displayed in the Colorbox overlay for our Recipe content type, as shown in the following screenshot:

Colorbox File enhancements

Before we just start coding away, we will take a look at the Colorbox File issue queue (http://drupal.org/project/issues/1084984?status=All&categories=All ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required