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 the "x files on x page(s)" on the Album main page  (Read 4943 times)

0 Members and 2 Guests are viewing this topic.

megajam02

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Removing the "x files on x page(s)" on the Album main page
« on: December 21, 2005, 04:18:02 pm »

I'm trying to remove the "x files on x page(s)" text on the albums main page. I've looked in the template.php, theme.php, and init.inc.php, but I cant seem to find it anywhere. I've searched the forums with no luck.

Can someone point me to the correct file to edit?

Thanks so much.
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Removing the "x files on x page(s)" on the Album main page
« Reply #1 on: December 21, 2005, 05:28:50 pm »

megajam02,

Look in themes/sample/theme.php.

Find the block of code in question.  Copy the entire block over to your theme.php file.  Modify the section as necessary.

For example copy the code between :

Quote
// HTML template for the category list

and
Quote
EOT;

and block out  (  //  )

               
Quote
<td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>
                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>


Dennis
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

megajam02

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Removing the "x files on x page(s)" on the Album main page
« Reply #2 on: December 22, 2005, 01:14:55 am »

Hmm. This didnt seem to work.
Logged

megajam02

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Removing the "x files on x page(s)" on the Album main page
« Reply #3 on: December 22, 2005, 02:47:47 am »

Let me be more specific about where I'm having problems.

When I click on an album name and go to that album, I am presented with several columns and row of thumbnails. Underneath all of these thumbnails, there is a 'statistics' blurb, saying something like "22 files on 1 page(s)".

I would like to remove this text. I've gone through the theme.php with a fine-toothed comb and I cant find this anywhere. I'm beginning to suspect that this is not in the theme.php, but I'm certainly no guru.

Any ideas?
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Removing the "x files on x page(s)" on the Album main page
« Reply #4 on: December 22, 2005, 03:03:43 am »

You want to remove the page tabs?
What happens when your thumbs extend past one page?
How will your users get to the next page?

Dennis
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Re: Removing the "x files on x page(s)" on the Album main page
« Reply #5 on: January 29, 2006, 12:03:16 am »

I think what you are looking for is in the english.php

Code: [Select]
$lang_album_list = array(

  'album_on_page' => '%d albums on %d page(s)',

);

and change to this:

Code: [Select]
$lang_album_list = array(

  'album_on_page' => '',

);

Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.