Advanced search  

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

Pages: [1]   Go Down

Author Topic: where can I find this code in CPG??  (Read 5447 times)

0 Members and 1 Guest are viewing this topic.

Tango589

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
where can I find this code in CPG??
« 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..
« Last Edit: April 12, 2006, 06:20:35 pm by TranzNDance »
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: where can I find this code in CPG??
« Reply #1 on: April 12, 2006, 06:57:07 am »

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

PYAP
« Last Edit: April 12, 2006, 10:03:41 am by PYAP »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: where can I find this code in CPG??
« Reply #2 on: April 12, 2006, 09:09:10 am »

find this code under your theme.php
Code: [Select]
<!-- 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Tango589

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: where can I find this code in CPG??
« Reply #3 on: April 12, 2006, 04:54:58 pm »

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?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: where can I find this code in CPG??
« Reply #4 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)

Tango589

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: where can I find this code in CPG??
« Reply #5 on: April 12, 2006, 06:16:41 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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: where can I find this code in CPG??
« Reply #6 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)

Tango589

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: where can I find this code in CPG??
« Reply #7 on: April 12, 2006, 08:32:50 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: where can I find this code in CPG??
« Reply #8 on: April 12, 2006, 08:49:16 pm »

no, there is no such file in cpg1.4.4
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.