Remove "Album:" text not working

FlipC_WC

Joined: 2002-11-28
Posts: 46
Posted: Thu, 2010-09-16 22:10

Gallery 2.3.1 pluged into E107
http://huntsvilleflatfour.com

OK
So removing the "Album:" text from the Album name listing.
Simple enough. Edit themes/matrix/templates/album.tpl
Remove "Album:" text from
g->text text="Album: %s" arg1=$child.title|markup}
Save file (re upload if not directly working on it)
Go to Site Admin and clear template cache.

Well it isn't working.
I have cleared Template Cache, DB Cache, and even ran build thumbnails/re-sizes for the hell of it (numerous times). I also made sure my local browser was clear. Fact this is a totally different computer. I even went into the DB and searched for the text "Album:"

Driving me a bit batty.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2010-09-16 22:17

Edit your local copy /themes/matrix/templates/local/album.tpl

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
FlipC_WC

Joined: 2002-11-28
Posts: 46
Posted: Sat, 2010-09-18 19:41

LOL at me for forgetting I had changed album.tpl before ...
Man .. complete idiocy on my part...
Tx

 
Defcon

Joined: 2006-08-16
Posts: 28
Posted: Tue, 2010-11-02 09:34
FlipC_WC wrote:
LOL at me for forgetting I had changed album.tpl before ...
Man .. complete idiocy on my part...
Tx

Dear FlipC, Can you explain what do you mean by 'forgetting I had changed album.tpl before' . I also got a same problem & already do as you said on 1st posting...

 
FlipC_WC

Joined: 2002-11-28
Posts: 46
Posted: Tue, 2010-11-02 17:37

When doing changes the practice is to create a folder within the theme you are working on called "local"
So that any updates etc will not over write your customized theme.
I had forgotten that I had previously altered my album.tpl before.
So when I was changing the album.tpl file located under my theme name it wasn't doing anything because I needed to be doing it to the one located within the local folder.

theme/album.tpl (original file)
theme/local/album.tpl (duplicate file YOU created to customize theme)

 
elitemodelsmexico

Joined: 2011-05-17
Posts: 5
Posted: Tue, 2011-05-17 06:52

change or not change or copy file to local folder

file to modify album.tpl

{g->text text="%s" arg1=$child.title|markup}

original theme matrix or you theme search this line 120 / 130 this code

Quote:
{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}
</p>
{/if}

modify this line

Quote:
{g->text text="Album: %s" arg1=$child.title|markup}

for this line

Quote:
{g->text text="%s" arg1=$child.title|markup}

if you moved or errase this line complety

{g->text text="Album: %s" arg1=$child.title|markup}

you gallery have problem don´t errase only modify

sorry bad english

bye