Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I installed the latest version earlier today (7.x-1.x-dev, 2011-Aug-15) and I'm getting the following error message:
Notice: Undefined variable: caption in theme_colorbox_image_formatter() (line 99 of .../sites/all/modules/colorbox/colorbox.theme.inc).
when the caption is set to "Colorbox caption: Automatic".
Patch to follow.
Thanks for a great module.
Comment | File | Size | Author |
---|---|---|---|
#2 | colorbox_caption_bugfix_ 1249902_2.patch | 884 bytes | frjo |
#1 | auto_caption_setting-1249902.patch | 453 bytes | LinL |
Comments
Comment #1
LinL CreditAttribution: LinL commentedComment #2
frjo CreditAttribution: frjo commentedThanks for finding this and for the patch!
The patch works well but could you test my version as well?
The result should be the same but I think my version makes it a bit more easy to see what is happening in the code.
Comment #3
spacereactor CreditAttribution: spacereactor commented#2 work for me
Comment #4
LinL CreditAttribution: LinL commentedYes, that's great, patch in #2 works for me too.
Comment #5
frjo CreditAttribution: frjo commentedThanks for testing! Committed to 7-dev.