Carbon / Album - Hide text "album:" but keep the album name (quotes mine)

Marinpix

Joined: 2006-09-03
Posts: 19
Posted: Wed, 2007-05-30 15:04

Operating system Linux
Kernel version: 2.6.9-42.EL
Apache version 1.3.37 (Unix)
PERL version 5.8.7
PHP version 4.4.6
MySQL version 4.1.21-standard

Gallery v2.1
Theme: Carbon

Browser: IE7

I want to elimanate the text "album:" but leave the album name under the thumbnails linked to albums. How can I do this?

Thanks,
John

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2007-05-31 01:10

Are you sure it is Carbon? I don't see text like that in my album page. In album.tpl I do see <img src="{g->url href="themes/carbon/images/album.gif"}" alt=""/> a little 'album' icon.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Marinpix

Joined: 2006-09-03
Posts: 19
Posted: Fri, 2007-06-01 01:02

Dave,
It's Carbon. I found if $child.canContainChildren} {g->text text="Album:%s" arg1=$child.title|markup} {else} {$child.title|markup} {/if} in album.tpl. However, removing the text Album: doesn't seem to make a difference.

I would be happy with the album.gif image. I just don't want the text Album: to show.

Thanks,
John

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2007-06-01 02:49

URL and Version?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Marinpix

Joined: 2006-09-03
Posts: 19
Posted: Mon, 2007-06-04 03:16

http://f-stop.net, Gallery 2.1, Carbon (customized)

John

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2007-06-04 04:35

In carbon for G2.2 it does not exsist, but in your version it does:
gallery2/themes/carbon/templates/album.tpl {g->text text="Album: %s" arg1=$child.title|markup}

Save customizations in gallery2/themes/carbon/templates/local/album.tpl see: http://codex.gallery2.org/Gallery2:Editing_Templates

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Marinpix

Joined: 2006-09-03
Posts: 19
Posted: Mon, 2007-06-04 12:16

Thanks, Dave. I appreciate the help.

I keep seeing "save in local" but I've never found instruction as to exactly where local should reside. Now, it makes sense.

Take care,
John