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
-
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]
-
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 -->
-
Thanks very much
-
Nope, didn't work
-
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.
-
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
-
It's a part of the category list, which you dont have displayed.
-
ahhhhhhhhhh :) thanks
-
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?
-
This is the english content, when going to http://www.sportbar.se/vimmel/?lang=english :
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.
-
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