Needs review
Project:
Brilliant Gallery
Version:
6.x-1.2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2008 at 10:57 UTC
Updated:
21 Aug 2008 at 12:13 UTC
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 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 :-)