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: Removing Details from Albums  (Read 4801 times)

0 Members and 1 Guest are viewing this topic.

martinha

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • Online Digital Image Gallery
Removing Details from Albums
« on: February 09, 2004, 02:18:21 pm »

First I'd like to congratulate everyone concerned for an excellent piece of software. It worked fine first time and looks great!

I'd like to make a slight alteration such that when albums are listed using the Album list button they don't show the details e.g. "18 pictures, last one added on Feb 07, 2004", just the descritpion I've given them. Is there an easy way of doing this?

Cheers

Martin
Logged

jmc

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 92
    • http://www.hartlepoolcameraclub.co.uk
stats
« Reply #1 on: February 09, 2004, 02:40:26 pm »

Hi, Martin!
Yep - it's pretty easy to do...
Open the lang/english.php file and search for the "stat1", "2" and "3" links (around line 630). "Comment out" the one you want rid of ("stat1" in your case, I think) by adding // to the beginning of the line, save the file and you're done!
John Mc
Logged
I'm trying hard... at least!

Nibbler

  • Guest
Removing Details from Albums
« Reply #2 on: February 09, 2004, 02:43:12 pm »

Similar to here but use:

Code: [Select]

$alb_list[$alb_idx]['album_info'] = ' ';
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Removing Details from Albums
« Reply #3 on: February 09, 2004, 02:53:01 pm »

Open themes/yourtheme/theme.php.

Find and delete (this is in the code twice, remove both)
 
Code: [Select]
<p class="album_stat">{ALB_INFOS}</p>

Edit, I took so long checking, I missed the other 2 answers, but you have 3 different ways of achieving the same thing  :wink:
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

martinha

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • Online Digital Image Gallery
Removing Details from Albums
« Reply #4 on: February 09, 2004, 07:49:48 pm »

Thanks guys , it seems be work fine now!
Logged

Krapmeister

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Arrgghh..
« Reply #5 on: February 27, 2004, 04:31:33 pm »

I'm tearing my hair out with this one.. I've tried all of these three methods and I still can't get rid of the album stats!!  Can anyone help me out with a definite solution.

Cheers

K
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Removing Details from Albums
« Reply #6 on: February 27, 2004, 06:40:31 pm »

Link?
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

Krapmeister

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Removing Details from Albums
« Reply #7 on: February 28, 2004, 01:51:03 pm »

Thanks for a speedy response, with further persistance and a bit of luck I solved my own problem.

Cheers Anyway.

It's a great script for my purposes:

http://www.thebeautifulfew.net

K
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 18 queries.