[Solved]: How do you remove "48 files, last one added on Mar 30, 2008" under album? [Solved]: How do you remove "48 files, last one added on Mar 30, 2008" under album?
 

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]

Main Menu

[Solved]: How do you remove "48 files, last one added on Mar 30, 2008" under album?

Started by oc_dude, April 05, 2008, 09:11:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

oc_dude

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


steveeh131047

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.

steveeh131047

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

oc_dude

Thank you SOOOOOOOOOOOOOOOOOO MUCH

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

I feel relieved!



steveeh131047

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 ?   ;)

steveeh131047

OK, I must be getting tired! The latest version is, of course,  1.4.16