where can I find this code in CPG?? where can I find this code in CPG??
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

where can I find this code in CPG??

Started by Tango589, April 12, 2006, 06:37:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tango589

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

Pascal YAP

#1
Hi;
In your language file i know... around $lang_list_categories

PYAP

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

Tango589

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?

Stramm

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)

Tango589

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.

Stramm

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)

Tango589

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?

Joachim Müller

no, there is no such file in cpg1.4.4