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..
Hi;
In your language file i know... around $lang_list_categories
PYAP
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
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?
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)
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.
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)
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?
no, there is no such file in cpg1.4.4