Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: How to remove 'X albums on X page(s)'  (Read 6683 times)

0 Members and 1 Guest are viewing this topic.

-TRshady-

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
How to remove 'X albums on X page(s)'
« 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  :)
« Last Edit: December 27, 2005, 12:01:13 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

-TRshady-

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: How to remove 'X albums on X page(s)'
« Reply #2 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!
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: How to remove 'X albums on X page(s)'
« Reply #3 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'] = '';
Logged

-TRshady-

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 45
Re: How to remove 'X albums on X page(s)'
« Reply #4 on: December 26, 2005, 01:56:03 pm »

Thanks a lot Donnoman! Always very helpful  ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.