Problems using targetpage="" with Gallery module
Posted: Wed Aug 04, 2010 12:39 pm
Environment:
CMSMS 1.7
Gallery module 1.3.2
PHP 5
Runs om Gentoo Linux
What I am trying to do:
I have one page (A) displaying subgalleries:
Gallery template code
Clicking on the pictures loads the targetpage (B) but the subgallery doesn't show.
Gallery template code
I have tried a number of combinations and solutions on the targetpage (B), having a {content} block, using {Gallery template="page B"} and no one seems to work.
How should I make the targetpage showing the clicked subgallery?

CMSMS 1.7
Gallery module 1.3.2
PHP 5
Runs om Gentoo Linux
What I am trying to do:
I have one page (A) displaying subgalleries:
Code: Select all
...
<div class="wide">
{Gallery start=1 number=3 targetpage="B"}
</div>
...
Code: Select all
<ul class="albumlarge selfClear gallery">
{foreach from=$images item=image name=gallery}
{if $image->isdir}
<li {if $smarty.foreach.gallery.iteration % 3 != 0} style="margin-right: 20px;"{/if}><a href="{$image->file}" title="{$image->titlename}" rel="lightbox[gallery]"><span class="border"><img src="{$image->thumb}" alt="{$image->titlename}" /></span>{$image->titlename}<span>{$image->comment}</span></a></li>
{/if}
{/foreach}
</ul>
Gallery template code
Code: Select all
<ul class="albumlarge selfClear gallery">
{foreach from=$images item=image name=gallery}
{if !$image->isdir}
<li {if $smarty.foreach.gallery.iteration % 3 != 0} style="margin-right: 20px;"{/if}><a href="{$image->file}" title="{$image->titlename}" rel="lightbox[gallery]"><span class="border"><img src="{$image->thumb}" alt="{$image->titlename}" /></span>{$image->titlename}<span>{$image->comment}</span></a></li>
{/if}
{/foreach}
</ul>
How should I make the targetpage showing the clicked subgallery?
