How do I remove this text How do I remove this text
 

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

How do I remove this text

Started by rvblog, January 25, 2005, 05:50:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rvblog

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]

Casper

In your theme.php, find the;

// HTML template for the category list
$template_cat_list = <<<EOT



Then within this section find;
<!-- 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;

<!-- BEGIN footer -->
<!-- END footer -->
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

rvblog


rvblog


rvblog

It's ok now

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

(Right church - wrong pew)

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

jensb

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

Nibbler

It's a part of the category list, which you dont have displayed.

jensb


jensb

#8
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?

Joachim Müller

This is the english content, when going to http://www.sportbar.se/vimmel/?lang=english :
Quote2404 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.

jensb

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