Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: How do you remove "48 files, last one added on Mar 30, 2008" under album?  (Read 2802 times)

0 Members and 1 Guest are viewing this topic.

oc_dude

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

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

« Last Edit: April 05, 2008, 10:19:01 pm by Nibbler »
Logged

steveeh131047

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 217

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:
Code: [Select]
.album_stat {
        font-size: 85%;
        margin: 5px 0px;
}

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

That should do it.
Logged

steveeh131047

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 217

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
Logged

oc_dude

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

Thank you SOOOOOOOOOOOOOOOOOO MUCH

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

I feel relieved!


Logged

steveeh131047

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 217

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

steveeh131047

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 217

OK, I must be getting tired! The latest version is, of course,  1.4.16
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.