Album customisation {Partially Solved?}
Posted: Mon May 14, 2007 3:41 am
Hi all,
I'm trying to modify my album template to achieve the following (I'm using CMSMS and the Album 0.8.2 module):

So far I've had no luck. Here is my template I'm using:
I'm assuming the code would work similar to the page numbers for the thumbnails within an album but so far I haven't had any luck!
Any help would be much appreciated!

I'm trying to modify my album template to achieve the following (I'm using CMSMS and the Album 0.8.2 module):

So far I've had no luck. Here is my template I'm using:
Code: Select all
{if $picture->id>0}
<div id="advertisingwrap_bottom">
{* Big Picture *}
<div id="bigpicture_bottom">
<img src="{$picture->picture}" alt="{$picture->name} - {$picture->comment}" title="{$picture->name} - {$picture->comment}" />
{/if}
</div>
{* Album List *}
<div id="albumlist2_bottom">
{if !$album}
<ul class="albumlist2_bottom">
{foreach from=$albums item=album}
<li class="thumb_bottom">
<a href="{$album->link}">
<img src="{$album->thumbnail}" alt="{$album->name}" title="{$album->name} - {$album->comment}" /></a>
<p class="albumname_bottom"><a href="{$album->link}">{$album->name}</a><br />
<span class="albumpicturecount_bottom">({$album->picturecount} images)</span><br />
<span class="albumcomment_bottom">{$album->comment}</span></p>
</li>
{/foreach}
</ul>
</div>
{else}
{* Photo List *}
<div id="photolist_bottom">
{$album->comment}
{if $pagecount>1}
<p class="albumnav_bottom">
<a href="{$link.page.first}" title="first page"><< </a>
{if $link.page.previous}<a href="{$link.page.previous}" title="previous page">< </a>{/if}
page {$pagenumber}/{$pagecount}
{if $link.page.next}<a href="{$link.page.next}" title="next page"> ></a>{/if}
<a href="{$link.page.last}" title="last page"> >></a>
</p>
{/if}
{* Thumbs Down Here *}
<ul class="picturelist_bottom">
{foreach from=$pictures item=picturesrow}
{foreach from=$picturesrow item=onepicture}
<li class="thumb_bottom"><a href="{$onepicture->link}"> <img src="{$onepicture->thumbnail}" alt="{$onepicture->name} - {$onepicture->comment}" title="{$onepicture->name} - {$onepicture->comment}" width="{$onepicture->thumbnailwidth}" /></a>
</li>
{if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
{/foreach}
{/foreach}
</ul>
<div id="instructiontextdiv">
<p>
<span class="instructiontext_bottom">{if $returnlink}<a href="{$returnlink}">« Return to the Advertising Campaigns</a>{/if}</span>
</p>
</div>
{if $picturecount==0}No image{/if}
{/if}
</div>
</div>
<div id="clearalbum_bottom"> </div>
Any help would be much appreciated!

