coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: flapane on May 24, 2014, 10:45:14 PM

Title: Problem (failed to find block 'caption') whenever description is missing
Post by: flapane on May 24, 2014, 10:45:14 PM
edit
Title: Re: Problem (failed to find block 'caption') whenever description is missing
Post by: allvip on May 26, 2014, 06:50:42 AM
Answer here:

Move picture title and description Reply #6: http://forum.coppermine-gallery.net/index.php/topic,77287.0.html (http://forum.coppermine-gallery.net/index.php/topic,77287.0.html)

I use it on my gallery and here is a page with no description: http://allvip.us/gallery/displayimage.php?album=704&pid=32045#top_display_media (http://allvip.us/gallery/displayimage.php?album=704&pid=32045#top_display_media)

Title: Re: Problem (failed to find block 'caption') whenever description is missing
Post by: flapane on May 26, 2014, 10:38:50 AM
Thank you so much!
I tried without luck to find the right variable to put inside an if loop... $CURRENT_PIC_DATA['title'] is what I needed.