forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: roseberry123 on January 26, 2005, 07:09:02 pm

Title: editting the table on the main page.
Post by: roseberry123 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
Title: Re: editting the table on the main page.
Post by: Casper 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
Title: Re: editting the table on the main page.
Post by: Joachim Müller 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
Title: Re: editting the table on the main page.
Post by: roseberry123 on January 28, 2005, 04:31:55 pm
hi,

I am using version 1.3.2.

Thanks,
June