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: Change the standard counter at the bottom of the gallery  (Read 2799 times)

0 Members and 1 Guest are viewing this topic.

dwarfbeard

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Change the standard counter at the bottom of the gallery
« on: June 07, 2012, 07:28:26 am »

Hi everyone, I have used this forum for solutions quiet often, but now I am stuck with a problem, that I can't solve by reading through the forum.

I want to change the standard display of the viewcount at the bottom of the gallery a bit.

Typically there is a sentece like this "X files in X albums and X categories with X comments viewed X times"
How can I hide out some of these variables?
So let's say, leave out for example the last counter that shows the over all views?

I searched the forum and found threads like this (http://forum.coppermine-gallery.net/index.php?topic=74208.0) but this did not help me solve my problem - I hope you can!

Thanking you in anticipation
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Change the standard counter at the bottom of the gallery
« Reply #1 on: June 07, 2012, 08:39:54 am »

The easiest solution would be to change the corresponding string in the language file. Just search for $lang_list_categories['stat1'], $lang_list_categories['stat2'] and $lang_list_categories['stat3'] and adjust them to your needs.
Logged

dwarfbeard

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Change the standard counter at the bottom of the gallery
« Reply #2 on: June 07, 2012, 11:26:44 am »

Language files... so easy but did not think about them.. :D

Thanks a lot - works fine!

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Change the standard counter at the bottom of the gallery
« Reply #3 on: June 07, 2012, 11:40:55 am »

Please
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.