forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: british-babes on February 18, 2005, 10:39:57 pm

Title: How to remove the album discription?
Post by: british-babes on February 18, 2005, 10:39:57 pm
Hi,

Is it possible to remove the album discription on the front page? (eg.the 10 files, last one added on Feb 15, 2005, total views 524 txt which is shown by the album thumbnail)
Title: Re: How to remove the album discription?
Post by: Aditya Mooley on February 19, 2005, 06:32:01 am
Open index.php

Comment or remove all the occurances of
Code: [Select]
$alb_list[$alb_idx]['album_info']

Remeber to take a backup of the file before changing it.
Title: Re: How to remove the album discription?
Post by: zoinks on June 09, 2005, 07:09:26 pm
I just ran into a similar customization snag: Wanted to remove "last one added" but keep number of files. Therefore flat-out removing "{ALB_INFOS}" in my template.php wasn't the solution. Based on other posts on this topic, I dug a bit and found the answer...

In "/yourcopperminefolder/lang/english.php" (or whatever language you're using) look for "$lang_list_albums = array". That's where you can comment out the "last added" wording, ie. change....
Code: [Select]
'last_added' => ', last one added on %s', to
Code: [Select]
'last_added' => '',
Also, since I'm using this just for photos, I changed....
Code: [Select]
'n_pictures' => '%s files', to
Code: [Select]
'n_pictures' => '%s photos',
Hope this helps anyone else looking to do the same!  ;D