remove photo names under thumbnails (but keep album names) theme edit help needed!

the_dragon_no1

Joined: 2013-03-20
Posts: 10
Posted: Wed, 2014-09-10 19:46

Clean Canvas theme, i want to remove image names, but keep album names.. saw a post about it, but couldn't reply there, and it wasn't all clear how to do it i think..

Thanks for any help!

regards
Ronni

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2014-09-10 22:11

Album.html.php
From:

    <? else: ?>
    <a href="<?= $child->url() ?>">
              <? // limit the title length to something reasonable (defaults to 15) ?>
              <?= html::purify(text::limit_chars($child->title,
                    module::get_var("gallery", "visible_title_length"))) ?>
      
	 </a>
	<? endif ?>
    </h2>

to

    <? else: ?>
    <? if ($child->is_album()): ?>
    <a href="<?= $child->url() ?>">
              <? // limit the title length to something reasonable (defaults to 15) ?>
              <?= html::purify(text::limit_chars($child->title,
                    module::get_var("gallery", "visible_title_length"))) ?>
      
	 </a>
  <? endif ?>
	<? endif ?>
    </h2>

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team