I'm using the matrix template with gallery 2.3.1 Have copied album.tpl to the local directory and have removed the following text in red, but am still unable to get rid of the image title.
{if !empty($child.title)}
<p class="giTitle">
{if $child.canContainChildren && (!isset($theme.params.albumFrame)
|| $theme.params.albumFrame == $theme.params.itemFrame)}
{* Add prefix for albums unless imageframe will differentiate *}
{g->text text="Album: %s" arg1=$child.title|markup}
{else}
{$child.title|markup}
{/if}
I still want the album titles to show up, just not the image names/titles. I'm sure I'm overlooking something quite simple here.
Posts: 8339
Make sure to clear your template cache after any template change.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 38
That was definitely the trick. I seem to have run into an issue with it removing the album titles as well now.
I've done the modification suggested in http://gallery.menalto.com/node/72064 putting this string of code in place of what was in there before.
That posting suggests that it be done in the childs.tpl file which doesn't seem to be part of this theme. Putting that code into albums.tpl removes both the image and album title. I'm just wanting to nuke titles on individual items.
Posts: 8339
instead of monkeying with all that code, try some CSS magic
add a class where needed to differentiate between the album title and item title.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2