Removing the "x files on x page(s)" on the Album main page Removing the "x files on x page(s)" on the Album main page
 

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

Removing the "x files on x page(s)" on the Album main page

Started by megajam02, December 21, 2005, 04:18:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

megajam02

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.

artistsinhawaii

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
QuoteEOT;

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


megajam02

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?

artistsinhawaii

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

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

$lang_album_list = array(

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

);


and change to this:

$lang_album_list = array(

  'album_on_page' => '',

);