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: How to remove the album discription?  (Read 3444 times)

0 Members and 1 Guest are viewing this topic.

british-babes

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
How to remove the album discription?
« 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)
Logged

Aditya Mooley

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 781
    • My Sweet Home
Re: How to remove the album discription?
« Reply #1 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.
Logged
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

zoinks

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
    • Zoinks! Graphics
Re: How to remove the album discription?
« Reply #2 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
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.