forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: rvblog on January 25, 2005, 05:50:25 pm

Title: How do I remove this text
Post by: rvblog on January 25, 2005, 05:50:25 pm
I tried looking for the right code but can't seem to locate it


How do I remove this text from the top of the album list:

12 files in 2 albums with 0 comments viewed 76 times


You can see it in the attached image file

[attachment deleted by admin]
Title: Re: How do I remove this text
Post by: Casper on January 25, 2005, 06:29:45 pm
In your theme.php, find the;

Code: [Select]
// HTML template for the category list
$template_cat_list = <<<EOT


Then within this section find;
Code: [Select]
<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>
        </tr>
<!-- END footer -->

And change it to;

Code: [Select]
<!-- BEGIN footer -->
<!-- END footer -->
Title: Re: How do I remove this text
Post by: rvblog on January 25, 2005, 10:16:00 pm
Thanks very much
Title: Re: How do I remove this text
Post by: rvblog on January 25, 2005, 10:20:20 pm
Nope, didn't work
Title: Re: How do I remove this text
Post by: rvblog on January 25, 2005, 10:27:23 pm
It's ok now

I commented the line under this tag and it worked ok:

(Right church - wrong pew)

Code: [Select]
$template_album_list = <<<EOT
<!-- BEGIN stat_row -->
        <tr>
                <!-- <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td> -->
        </tr>
<!-- END stat_row -->

But thanks for leading me in the right direction.
Title: Re: How do I remove this text
Post by: jensb on November 16, 2005, 04:13:30 pm
hmmmm my theme.php says

<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>
        </tr>
<!-- END footer -->


just like I gather it should ... but the text similar to

129 files in 22 albums and 5 categories with 347 comments viewed 776559 times

just isn´t displayed .... any ideas where I can have messed up and edited the theme to much .. sigh ?

if any of u want to have a look the url is :

http://www.sportbar.se/vimmel

thanks in advance for any help :)

/Jens
Title: Re: How do I remove this text
Post by: Nibbler on November 16, 2005, 04:56:38 pm
It's a part of the category list, which you dont have displayed.
Title: Re: How do I remove this text
Post by: jensb on November 16, 2005, 05:52:40 pm
ahhhhhhhhhh :) thanks
Title: Re: How do I remove this text
Post by: jensb on November 16, 2005, 06:10:42 pm
EDIT!  skip this :)  I had an empty user gallery .. which lead to that part of the text being show in stats .. ! user gallery etc etcx

deleted the gallery and now it+ sjust like I want it :D

and by the way ... CPg is working just gr8 ... 155000 viewed pics in less than 30 days ... :D




hmmmm :) i´m back ....

what I get now is :(this is ofc swedish .. )

Kategori Album Objekt
 User galleries
This category contains albums that belong to Coppermine users.
 1 0
 
2404 objekt i 32 album och 1 kategorier med 824 kommentarer visade 155049 gånger



the thing is ... we have no categories .. no user albums  ....

is there a way to just have the :

2404 objekt i 32 album och 1 kategorier med 824 kommentarer visade 155049 gånger

ie edit the /catlist/ so it just shows the stat line?
Title: Re: How do I remove this text
Post by: Joachim Müller on November 16, 2005, 06:23:12 pm
This is the english content, when going to http://www.sportbar.se/vimmel/?lang=english :
Quote
2404 files in 31 albums with 824 comments viewed 155050 times
, so everything is working as expected using the english language file. If things look differently in Swedish, then maybe there's something you did in the language file. Take a look at the edits you made.
Title: Re: How do I remove this text
Post by: jensb on November 16, 2005, 06:26:04 pm
nah never did any edits .. just added the /catlist/ in the config :)  didn´t have to since the Categories part disappred after I deleted the stupid empty user gallery we had :)

all is gr8 now ... even in swedish :D