Page 1 of 1

gallery show full comment description update

Posted: Tue Mar 09, 2010 9:26 pm
by trogfish
I would like gallery to show the longer comment / description for each image.  I don't care which template is used, really.

I saw this thread for light box: http://forum.cmsmadesimple.org/index.ph ... 638.0.html

But, I am confused; because when I open the gallery template file for lightbox, the current code looks completely different than the code in previous topic description.

I see:

Code: Select all

<div class="gallery">
{if !empty($module_message)}<h4>{$module_message|escape}</h4>{/if}
{if !empty($gallerytitle)}<h3>{$gallerytitle}</h3>{/if}
{if !empty($gallerycomment)}<div class="gallerycomment">{$gallerycomment}</div>{/if}
<p>{$imagecount}</p>
<div class="pagenavigation">
{if $pages > 1}
<div class="prevpage">{$prevpage}</div>
<div class="nextpage">{$....etc.
Instead of:

Code: Select all

<div class="img">
{if $image->isdir}
	<a href="{$image->file}" title="{$image->title}"><img src="{$image->thumb}"
alt="{$image->title}" /></a><br />{$image->title}
{else}
	<a href="{$image->file}" title="{$image->title}" rel="lightbox[gallery]"><img
src="{$image->thumb}" alt="{$image->title}" /></a>
{/if}
</div>....etc.
Has something changed, or am I trying to put code in the wrong place...???
Thanks in advance

Re: gallery show full comment description update

Posted: Fri Jul 02, 2010 5:27 pm
by geepers
Hopefully you've already sorted this out, but just scroll down the template a little further to locate the code snippet that you're looking for.