gallery show full comment description update

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
trogfish
New Member
New Member
Posts: 8
Joined: Fri Feb 20, 2009 2:21 am

gallery show full comment description update

Post 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
geepers
Dev Team Member
Dev Team Member
Posts: 84
Joined: Thu Nov 22, 2007 10:41 pm

Re: gallery show full comment description update

Post 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.
Post Reply

Return to “Modules/Add-Ons”