coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: oc_dude on April 05, 2008, 09:11:32 PM

Title: [Solved]: How do you remove "48 files, last one added on Mar 30, 2008" under album?
Post by: oc_dude on April 05, 2008, 09:11:32 PM
Hello, I'm new here 4/4/2008.

I've been playing around with Coppermine for a few months, never thought there would be a  forum for Coppermine.

On the main index page of your albums next to each thumbnail it shows: "the x number of files in album, and the last add on date" How do you remove that?



I went on to the config and there is no setting to remove that.

I tried digging into the code from the index.php file, but had trouble finding it, and was worried if I made a change it would impact the functionality. can somebody help me?

I am using Coppermine Photo Gallery 1.4.12

Title: Re: How do you remove "48 files, last one added on Mar 30, 2008" under album?
Post by: steveeh131047 on April 05, 2008, 09:34:09 PM
Here's one way:

1) Open the style.css file for the theme you are using in a text editor - say, Notepad

2) Find the lines that style the Album Statistics. You're looking for something like:
.album_stat {
        font-size: 85%;
        margin: 5px 0px;
}


3) Insert an extra line so that it now reads:
.album_stat {
        display: none;
        font-size : 85%;
        margin: 5px 0px;
}


That should do it.
Title: Re: How do you remove "48 files, last one added on Mar 30, 2008" under album?
Post by: steveeh131047 on April 05, 2008, 09:37:31 PM
Forgot to add that, if you don't want to incur the wrath of the Development Team, upgrade to the latest version: 1.14.6  These guys don't bring out new versions for no reason :)

Steve
Title: Re: How do you remove "48 files, last one added on Mar 30, 2008" under album?
Post by: oc_dude on April 05, 2008, 09:51:15 PM
Thank you SOOOOOOOOOOOOOOOOOO MUCH

I spent 3 days looking at the index.php file going crazy! Oh my goodness!

I feel relieved!


Title: Re: How do you remove "48 files, last one added on Mar 30, 2008" under album?
Post by: steveeh131047 on April 05, 2008, 10:04:57 PM
I'm relatively new to Coppermine too.

I'd recommend not making changes to files like index.php unless you really know what you're doing. You can achieve pretty much everything you would want using the Themes files, Config, and "anycontent.php".

If you go changing anything else you're going to have to do it all over again when you upragde to to v1.14.6  .....  and you ARE going to upgrade aren't you ?   ;)
Title: Re: [Solved]: How do you remove "48 files, last one added on Mar 30, 2008" unde
Post by: steveeh131047 on April 05, 2008, 10:24:39 PM
OK, I must be getting tired! The latest version is, of course,  1.4.16