Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Change the standard counter at the bottom of the gallery  (Read 2803 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.025 seconds with 19 queries.