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

jan.n’s picture

Status: Active » Needs review

I 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 :-)