Slider Theme Adjustment

marcderidder

Joined: 2008-10-25
Posts: 5
Posted: Wed, 2009-11-04 22:18

I am trying to set up a slideshow view of gallery.

I have installed the Slider theme, but can someone tell me how I can change the code so the thumbnail bar does not show. I know that it doesn't show for empty albums, but I can't figure out how to not make it show if there are items in the album.

Cheers,

Marc.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-11-05 04:41

remove

  <div id="thumbs" class="gcBackground1 gcBorder2 sliderHoriz">
    {include file="gallery:modules/core/templates/JavaScriptWarning.tpl" l10Domain="modules_core"}
    {foreach from=$theme.children key=i item=it}{strip}
    {if isset($it.image)}
      <a href="" onclick="this.blur();image_show({$it.imageIndex});return false">
	{if isset($it.thumbnail)}
	  {g->image item=$it image=$it.thumbnail class=hthumb}
	{else}
	  <p>{g->text text="no thumbnail"}</p>
	{/if}
      </a>
    {/if}
    {/strip}{/foreach}
  </div>

from
themes/slider/templates/slider.tpl

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team