coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: megajam02 on December 21, 2005, 04:18:02 PM

Title: Removing the "x files on x page(s)" on the Album main page
Post by: megajam02 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.
Title: Re: Removing the "x files on x page(s)" on the Album main page
Post by: artistsinhawaii 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
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
Title: Re: Removing the "x files on x page(s)" on the Album main page
Post by: megajam02 on December 22, 2005, 01:14:55 AM
Hmm. This didnt seem to work.
Title: Re: Removing the "x files on x page(s)" on the Album main page
Post by: megajam02 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?
Title: Re: Removing the "x files on x page(s)" on the Album main page
Post by: artistsinhawaii 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
Title: Re: Removing the "x files on x page(s)" on the Album main page
Post by: zac on January 29, 2006, 12:03:16 AM
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' => '',

);