Page 1 of 1

[SOLVED] Gallery module, using long title names possible?

Posted: Thu Jan 27, 2011 5:33 pm
by wilse
Hi folks


Only recently started to use CMSMS [it's brilliant] and trying to set-up a part of my website using gallery.
The section I'm working on has a paragraph of text with each image.
By using the module Gallery is it possible to get these paragraphs of text visible when you are viewing the images?
At the moment all I can get is either the filename... thisimage.jpg or a title that is too short?

There is around 100 images, that's why I'd like to use Gallery.

Cheers

Wilse

Re: Gallery module, using long title names is it possible?

Posted: Fri Jan 28, 2011 8:48 am
by nicmare
use the comment field of each image and get it with $image->comment?!
more template variables can be found in the wiki

Re: Gallery module, using long title names is it possible?

Posted: Fri Jan 28, 2011 9:26 am
by wilse
thanks

I've edited the 'fancybox' template in the template editor, to show {$gallerycomment}

But this doesn't work? I presume I don't need the ?! you had put on your post?

baffled!

wilse

Re: Gallery module, using long title names is it possible?

Posted: Fri Jan 28, 2011 9:29 am
by nicmare
LOL @ ?!
use $image->comment like $image->title or $image->filename …

Re: [SOLVED] Gallery module, using long title names possible

Posted: Fri Jan 28, 2011 9:34 am
by wilse
Thanks again... I was editing fancybox template, but using slimbox....!

More coffee needed me thinks.

Thanks again

wilse

Re: [SOLVED] Gallery module, using long title names possible

Posted: Fri Jan 28, 2011 9:40 am
by wilse
Thought I'd post this for others... being a newb!

DON'T put "Speach marks" in the comments box, it will supress the comment... but will show NO error.

w