coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: ipoe on May 21, 2006, 09:57:04 AM

Title: use stats somewhere else on page
Post by: ipoe on May 21, 2006, 09:57:04 AM
hello all,
maybe my topic is a bit confusing but i can't find the right description for my question ;)

i want to move the {GALLERY} stats, looks like this:

xxx files in yyy albums and zzz categories with 999 comments viewed 888 times

on another location (banner) on my coppermine site. so i found index.php where are a lot of queries and also the ./lang/english.php where the translation is - but which files generates the {GALLERY} content? template.html shows only:


<tr>
            <td align="center" valign="top">
              {ADMIN_MENU}
              {GALLERY}
              <div style="text-align:center;">
              <div>
 


thank you for your help, as you can see i'm a newbe but I'm working hard ;-)

iPoe
Title: Re: use stats somewhere else on page
Post by: Stramm on May 21, 2006, 10:30:31 AM
disable statistics and use the anycontent block
http://forum.coppermine-gallery.net/index.php?topic=28402.msg131618#msg131618
Title: Re: use stats somewhere else on page
Post by: Joachim Müller on May 21, 2006, 11:12:08 AM
The {GALLERY} token is a placeholder for the whole page content, not only for the statistics. You're looking at the wrong section of the code. There's a whole sub-board dedicated to mods that deal with statistics (http://forum.coppermine-gallery.net/index.php?board=79.0).
Title: Re: use stats somewhere else on page
Post by: ipoe on May 21, 2006, 03:14:46 PM
hello,

QuoteThe {GALLERY} token is a placeholder for the whole page content

yes, i know  and want to put the stats (which are on bottom of category view) to some other place on my side, maybe i can play around with anycontent.php mentioned by stramm (thank you)!!

iPoe