gallery show full comment description update
Posted: Tue Mar 09, 2010 9:26 pm
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:
Instead of:
Has something changed, or am I trying to put code in the wrong place...
Thanks in advance
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.
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.

Thanks in advance