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: How do I remove this text  (Read 6344 times)

0 Members and 1 Guest are viewing this topic.

rvblog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
How do I remove this text
« 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]
« Last Edit: January 26, 2005, 08:20:42 am by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How do I remove this text
« Reply #1 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 -->
Logged
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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Re: How do I remove this text
« Reply #2 on: January 25, 2005, 10:16:00 pm »

Thanks very much
Logged

rvblog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Re: How do I remove this text
« Reply #3 on: January 25, 2005, 10:20:20 pm »

Nope, didn't work
Logged

rvblog

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Re: How do I remove this text
« Reply #4 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.
Logged

jensb

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: How do I remove this text
« Reply #5 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
Logged

Nibbler

  • Guest
Re: How do I remove this text
« Reply #6 on: November 16, 2005, 04:56:38 pm »

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

jensb

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: How do I remove this text
« Reply #7 on: November 16, 2005, 05:52:40 pm »

ahhhhhhhhhh :) thanks
Logged

jensb

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: How do I remove this text
« Reply #8 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?
« Last Edit: November 16, 2005, 06:16:53 pm by jensb »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: How do I remove this text
« Reply #9 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.
Logged

jensb

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: How do I remove this text
« Reply #10 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

Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.