forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: DefenceTalk.com on October 23, 2003, 05:49:38 am

Title: How to display stats on top of cat list?
Post by: DefenceTalk.com on October 23, 2003, 05:49:38 am
Hey...

I would like to display this:

Quote

1046 pictures in 167 albums and 49 categories with 14 comments viewed 22958 times


http://www.defencetalk.com/pictures

On top of very top right below the menu/admin menu - How can i do it? I tried playing with config but... :( didn't do much good!!!

Thank u
Title: How to display stats on top of cat list?
Post by: jasendorf on October 23, 2003, 06:23:28 am
see if changing line 145 in index.php from:
Code: [Select]

 if ($cat == 0) {


to
Code: [Select]

 if (0 == 0) {


does the trick for you.
Title: How to display stats on top of cat list?
Post by: DefenceTalk.com on October 23, 2003, 06:38:35 am
Noope...  :?


thanks
Title: How to display stats on top of cat list?
Post by: jasendorf on October 23, 2003, 06:41:54 am
hmmm... worked for me...

OHHHHH... I thought you wanted it on every page...  oooops.  you wanted it on the "very" not "every".... sorry about that.

Well, that place I showed you is where that piece is created (it's called stat1 I think)...
Title: How to display stats on top of cat list?
Post by: DefenceTalk.com on October 23, 2003, 03:29:11 pm
I wonder, if i can could use anycontent.php to display the stats on top of the categories instead of bottom? :?
Title: How to display stats on top of cat list?
Post by: DefenceTalk.com on October 24, 2003, 06:00:07 am
:?

Well, I managed to display SOMETHING somehow!!!  :wink:

Check it out- right below the drop down menu... "gallery stats"  (http://www.defencetalk.com/pictures)[/url]