Hidden album is showing. What code I should use that not showing hidden albums?

Rostyslav
Rostyslav's picture

Joined: 2006-10-22
Posts: 22
Posted: Thu, 2007-11-29 21:10

Hidden album is showing. What code I should use that not showing hidden albums?
There are two first images is hidden albums.

Thanks!
Currently my code is:

{g->container type="imageframe.ImageFrame" frame=$theme.params.$frameType
width=$child.thumbnail.width height=$child.thumbnail.height}
<a href="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.id`"}" rel="lyteshow[gallery]" title="{$child.title|markup}">
{g->image id="%ID%" item=$child image=$child.thumbnail class="%CLASS% giThumbnail"}
</a>
{/g->container}
 {elseif isset($child.thumbnail)}
{if $child.canContainChildren}
<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">
{else}
<a href="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.id`"}" rel="lyteshow[photos]">
{/if}
{g->image item=$child image=$child.thumbnail class="giThumbnail"}
</a>
 {else}
<a href="{$linkUrl}" class="giMissingThumbnail" rel="lyteshow[gallery]">
{g->text text="no thumbnail"}
</a>
{/if}
</div>