On the page where the gallery is, I would like the Gallery name and Number of Images to NOT show. Just the thumbnails.
I am using the AE-Gallery, CMSMS 2.1.4 and I assume you want to see the template.
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">{$nextpage}</div>
{/if}
{if !$hideparentlink && !empty($parentlink)}<div class="parentlink">{$parentlink}</div>{/if}
{if $pages > 1}<div class="pagelinks">{$pagelinks}</div>{/if}
</div>
{assign var='dirs' value=''}
{assign var='imgs' value=''}
{foreach from=$images item=image}
{if $image->isdir}
{assign var='dirs' value="$dirs
<div class=\"img\">
<a href=\"`$image->file`\" title=\"`$image->title`\"><img src=\"`$image->thumb`\" alt=\"`$image->titlename`\" /></a><br />
`$image->titlename`
</div>
"}
{else}
{capture name=images assign=imgs}
{$imgs}
<li>
<a href="{$image->file}">
<img src="{$image->thumb}" title="{$image->title}" alt="{if empty($image->comment)}{$image->titlename}{else}{$image->comment}{/if}" longdesc="{* you can put a url here using a custom field. This wil generate a link in the middle of the big image *}" class="image{$image->fileid}">
</a>
</li>
{/capture}
{/if}
{/foreach}
{if !empty($imgs)}
<div class="ae-gallery">
<div class="ae-image-wrapper">
</div>
<div class="ae-controls">
</div>
<div class="ae-nav">
<div class="ae-thumbs">
<ul class="ae-thumb-list">
{$imgs}
</ul>
</div>
</div>
</div>
{/if}
{$dirs}
<div class="galleryclear"> </div>
</div>


