coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Tango589 on April 12, 2006, 06:37:22 AM

Title: where can I find this code in CPG??
Post by: Tango589 on April 12, 2006, 06:37:22 AM
I'm looking for the code for the section of my CPG that controls the area that displays:

2388 files in 41 albums and 6 categories with 69 comments viewed 98336 times

I want to display this information at the top of my page, right above there the Admin toolbar shows up..
Title: Re: where can I find this code in CPG??
Post by: Pascal YAP on April 12, 2006, 06:57:07 AM
Hi;
In your language file i know... around $lang_list_categories

PYAP
Title: Re: where can I find this code in CPG??
Post by: Sami on April 12, 2006, 09:09:10 AM
find this code under your theme.php

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

td tag is that info. it's hard to move it up to that place put at last send a link to your site and send yourtheme.php if you don't use CPG standard theme
Title: Re: where can I find this code in CPG??
Post by: Tango589 on April 12, 2006, 04:54:58 PM
Quote from: PYAP on April 12, 2006, 06:57:07 AM
Hi;
In your language file i know... around $lang_list_categories

PYAP

yeah, found the line of code that deals with the stats in the english.php file, but then when looking at it I remembered php was nothing like html and it wasn't easy to move stuff..

also, looked under my theme.php file and could not find the code you quotes, bmossavari.  I do not use the standard theme, I use a Water Drop theme.  Does that make a difference?
Title: Re: where can I find this code in CPG??
Post by: Stramm on April 12, 2006, 05:41:13 PM
if you want to move the statistics on your index then the easiest way is to
a) disable statistics in config
b) now put the stats in an anycontent block  (lil howto is here http://forum.coppermine-gallery.net/index.php?topic=28402.0 )
c) include the anycontent block (config - Album list view - The content of the main page --> add 'anycontent' to the list)
Title: Re: where can I find this code in CPG??
Post by: Tango589 on April 12, 2006, 06:16:41 PM
Quote from: Stramm on April 12, 2006, 05:41:13 PM
if you want to move the statistics on your index then the easiest way is to
a) disable statistics in config
b) now put the stats in an anycontent block  (lil howto is here http://forum.coppermine-gallery.net/index.php?topic=28402.0 )
c) include the anycontent block (config - Album list view - The content of the main page --> add 'anycontent' to the list)

thanks for trying to help me, but it appears I'm going to crash this whole gallery and piss off a bunch of people if I don't get stop now and just be happy with it the way it is.
Don't want to mess up a file and screw up the gallery, and with my luck that is exactly what would happen.

You can close this thread.
Title: Re: where can I find this code in CPG??
Post by: Stramm on April 12, 2006, 07:55:53 PM
k, however you still won't have to mess around with 'files'
anycontent.php is made just for those purposes. You can enable/ disable it in config (as described in my little howto)
Title: Re: where can I find this code in CPG??
Post by: Tango589 on April 12, 2006, 08:32:50 PM
Quote from: Stramm on April 12, 2006, 07:55:53 PM
k, however you still won't have to mess around with 'files'
anycontent.php is made just for those purposes. You can enable/ disable it in config (as described in my little howto)

config.php, I would assume?
Title: Re: where can I find this code in CPG??
Post by: Joachim Müller on April 12, 2006, 08:49:16 PM
no, there is no such file in cpg1.4.4