forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: -TRshady- on December 25, 2005, 02:13:44 am

Title: How to remove 'X albums on X page(s)'
Post by: -TRshady- on December 25, 2005, 02:13:44 am
First off, Merry Christmas to everyone involved in the Coppermine Gallery Project!

Simple question, how do I remove: X albums on X page(s) that appears under each category on the main page?

Cheers  :)
Title: Re: How to remove 'X albums on X page(s)'
Post by: Joachim Müller on December 25, 2005, 10:37:09 am
http://forum.coppermine-gallery.net/index.php?topic=25060.msg115233#msg115233
Title: Re: How to remove 'X albums on X page(s)'
Post by: -TRshady- on December 25, 2005, 11:09:48 am
Thanks GauGau, you linked me to:
"You can remove the gallery stats (4331 files in 178 albums and 11 categories with 59 comments viewed 15039 times)"

but I'm after removing just the bold black text that appears under each category on my gallery: http://www.shadygallery.com/
4 pages on 1 album(s) for example

Thanks!
Title: Re: How to remove 'X albums on X page(s)'
Post by: donnoman on December 25, 2005, 06:49:32 pm
If I understand exactly what your trying to remove; try this:
copy function theme_display_album_list_cat to your theme.php from sample's theme.php.

find
Code: [Select]
    $theme_alb_list_tab_tmpl['left_text'] = strtr($theme_alb_list_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_album_list
['album_on_page']));

replace with
Code: [Select]
    $theme_alb_list_tab_tmpl['left_text'] = '';
Title: Re: How to remove 'X albums on X page(s)'
Post by: -TRshady- on December 26, 2005, 01:56:03 pm
Thanks a lot Donnoman! Always very helpful  ;D