coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: GH on October 03, 2008, 02:19:36 PM

Title: how not displaying different statistic informations
Post by: GH on October 03, 2008, 02:19:36 PM
on my site http://hoffmann07.fr/g directly on the mainpage is displayed  stat information beside the albums and also on the end of the page.
This is:

5 files, last one added on Oct 02, 2008

Album of Günter Hoffmann 

   

3 albums on 1 page(s)


8 files in 3 albums and 5 categories with 0 comments viewed 91 times



All this I don't want, I tried already to find out where it is in theme.php of cos-gal template I tried to find and outcomment it, but without succes.
Title: Re: how not displaying different statistic informations
Post by: Joachim Müller on October 04, 2008, 03:17:34 PM
Has been asked so often that it hurts. Did you search the gallery for "remove stats" or "remove statistics"?
Title: Re: how not displaying different statistic informations
Post by: GH on October 06, 2008, 01:00:50 AM
Even if I understand that it hurst, there are so many replies and there are some which result parse error after applying that its difficult to take advantage of it.

In many hours I could make disappear some informations, but not this one:

x albums on x page(s)

Where is the code for this please?
Title: Re: how not displaying different statistic informations
Post by: GH on October 06, 2008, 01:10:35 PM
ok, for me all the information I found by searching "disable statistic" was not working or old or confusing.  I made disappear all statistic information on my different pages in theme.php as followed, see outcommented lines, "......."means that I don't mention code between these lines of code:

// HTML template for thumbnails display
                           
<!-- BEGIN footer -->
        <!--<tr>
                <td colspan="6" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>
        </tr>-->
<!-- END footer -->


// HTML template for the album list
$template_album_list = <<<EOT

<!-- BEGIN stat_row -->
        <!--<tr>
                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
        </tr>-->
<!-- END stat_row -->
<!-- BEGIN header -->
        <!--<tr class="tableb_compact">-->
<!-- BEGIN tabs -->
        <tr>
                <td colspan="{COLUMNS}" style="padding: 0px;">
                        <table width="100%" cellspacing="0" cellpadding="0">
                                <!--<tr>
                                       {TABS}
                                </tr>-->
                        </table>
                </td>
        </tr>
<!-- END tabs -->
................



// HTML template for the album list

$template_album_list_cat = <<<EOT

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

.....................
<!-- BEGIN c_tabs -->
        <tr>
                <td colspan="{COLUMNS}" style="padding: 0px;">
                        <table width="100%" cellspacing="0" cellpadding="0">
                               <!-- <tr>
                                       {TABS}
                                </tr>-->
                        </table>
                </td>
        </tr>
<!-- END c_tabs -->
..........................
<!-- BEGIN tabs -->
        <tr>
                <td colspan="{THUMB_COLS}" style="padding: 0px;">
                        <table width="100%" cellspacing="0" cellpadding="0">
                              <!--  <tr>
                                       {TABS}
                                </tr>-->
                        </table>
                </td>
        </tr>
<!-- END tabs -->





I hope that I have not forgotten any item I disabled.