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.
Drupal 6.4, LightboxV2 6.x-1.8, brilliant_gallery 6.x-1.2
I can't get captions to display. My syntax is the following:
[bg|car|1|420|sort|1|#bbbbbb|1|right door]
This works as expected except for the caption which shows the files' name instead of "right door" (regardless of whtat I chose in the module's settings).
Ideas anyone?
jan
Comments
Comment #1
jan.n CreditAttribution: jan.n commentedI found this to be a bug in 6.x-1.2.
brilliant_gallery.module line 219 does read
function render_brilliant_gallery( $thisfolder = '', $colcountoverride = '', $widthoverride = '', $sortoverride = '', $maximumnumbertoshow = '', $colouroverride = '', $beginfromoverride = 1, $captionyesnotext= '' ) {
However, the last variable is later referred to as $captionyesornot.
Change this variables name to captionyesornot and then it works :-)