Remove "Keyword Album" prefix before listed keywords

naturalEnquirer

Joined: 2008-06-15
Posts: 52
Posted: Sat, 2008-11-15 16:28

In keyword albums, the album name is listed as:
Keyword Album: keywordname

Is there a place I can change it to say just keywordname?

In my case, I'd like to change it in the breadcrumbs and on the album page.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2008-11-15 18:43

Not a CSS customization but...
edit /moduels/keywordAlbum/KeywordAlbum.inc
$module->translate(array('text' => 'Keyword Album: %s', 'arg1' => $keyword)),
There is a few other places in the module that has text that is translatable as well, but don't know what you really want to change and where.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
naturalEnquirer

Joined: 2008-06-15
Posts: 52
Posted: Sat, 2008-11-15 22:07

Thanks, that does exactly what I need.

Is there a way to make the changes to the .inc file "locally" like tmeplate files so that changes won't be lost during upgrades?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2008-11-16 05:34

Nope, but you could copy the module and rename it.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
eaglelive

Joined: 2008-07-11
Posts: 55
Posted: Sat, 2009-06-06 09:01

How can I chaange "Keyword Album" prefix to be suffix?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-06-06 15:50

$module->translate(array('text' => 'Keyword Album: %s', 'arg1' => $keyword)),
to
$module->translate(array('text' => '%s: Keyword Album', 'arg1' => $keyword)),

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
eaglelive

Joined: 2008-07-11
Posts: 55
Posted: Sat, 2009-06-06 17:49

Thanks Dave