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: editting the table on the main page.  (Read 3038 times)

0 Members and 1 Guest are viewing this topic.

roseberry123

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
editting the table on the main page.
« on: January 26, 2005, 07:09:02 pm »

Hi,

I hope I"m not asking too many questions. I'm sort of in a rush, but I know I should be more patient.

In the album list, the title (not really the title but its the first line of the table)  says something like, '2 files in 7 albums with 0 comments viewed 1 times'.....is there a way to remove "with 0 comments"?

Your program is more complex than my needs, I think thats why I have so many questions.

Anyways, thank you for such a nice and organized software. I'll go rate it.

June
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: editting the table on the main page.
« Reply #1 on: January 26, 2005, 09:40:17 pm »

Open your lang/language file, and find this section of code;

Code: [Select]
$lang_list_categories = array(
  'home' => 'Home',
  'stat1' => '<b>[pictures]</b> files in <b>[albums]</b> albums and <b>[cat]</b> categories with <b>[comments]</b> comments viewed <b>[views]</b> times',
  'stat2' => '<b>[pictures]</b> files in <b>[albums]</b> albums viewed <b>[views]</b> times',
  'xx_s_gallery' => '%s\'s Gallery',
  'stat3' => '<b>[pictures]</b> files in <b>[albums]</b> albums with <b>[comments]</b> comments viewed <b>[views]</b> times',
);

Just remove this bit (twice)

Code: [Select]
with <b>[comments]</b> comments
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: editting the table on the main page.
« Reply #2 on: January 27, 2005, 08:00:16 am »

in the future, please post support requests on the support board that corresponds to your coppermine version. Please reply to this thread by posting what version you currently use, so that we can move your question accordingly.

Joachim
Logged

roseberry123

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: editting the table on the main page.
« Reply #3 on: January 28, 2005, 04:31:55 pm »

hi,

I am using version 1.3.2.

Thanks,
June
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.