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 to put br between stats bar and categories  (Read 2884 times)

0 Members and 1 Guest are viewing this topic.

paul863

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Where to put br between stats bar and categories
« on: December 17, 2011, 06:15:27 pm »

I would like to add <br> between my statistics at the bottom of my gallery and list of categories, if you don't know what I mean, look: http://www.freeimagehosting.net/newuploads/713d9.png
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Where to put br between stats bar and categories
« Reply #1 on: December 20, 2011, 11:36:31 am »

Copy this to your theme's theme.php file:
Code: [Select]
/******************************************************************************
** Section <<<$template_cat_list>>> - START
******************************************************************************/
// HTML template for the category list
$template_cat_list = <<<EOT
<!-- BEGIN header -->
        <tr>
                <td class="tableh1" width="80%" align="left">{CATEGORY}</td>
                <td class="tableh1" width="10%" align="center">{ALBUMS}</td>
                <td class="tableh1" width="10%" align="center">{PICTURES}</td>
        </tr>
<!-- END header -->
<!-- BEGIN catrow_noalb -->
        <tr>
                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink">{CAT_TITLE}</span>{CAT_DESC}</td></tr></table></td>
        </tr>
<!-- END catrow_noalb -->
<!-- BEGIN catrow -->
        <tr>
                <td class="catrow" align="left"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink">{CAT_TITLE}</span>{CAT_DESC}</td></tr></table></td>
                <td class="catrow" align="center">{ALB_COUNT}</td>
                <td class="catrow" align="center">{PIC_COUNT}</td>
        </tr>
        <tr>
            <td class="tableb tableb_alternate" colspan="3">{CAT_ALBUMS}</td>
        </tr>
<!-- END catrow -->
<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><br /><span class="statlink">{STATISTICS}</span></td>
        </tr>
<!-- END footer -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;
/******************************************************************************
** Section <<<$template_cat_list>>> - END
******************************************************************************/
Logged

paul863

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Where to put br between stats bar and categories
« Reply #2 on: December 23, 2011, 12:39:28 pm »

It's working, but what is so sad and macabre is that oxygen theme inherited tragic index outfit from classic coppermine theme meaning first four or whatever albums of each category are displayed below each, would it be possible for You, please, to configure this plugin so no albums would be displayed? Thanks in advance!
Logged

dagoris2010

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 1
    • <a hrinternet marketing and search engine optimazation forum
Re: Where to put br between stats bar and categories
« Reply #3 on: December 23, 2011, 01:06:08 pm »

thanks for the information it was helpful.
Logged
http://www.ratedbase.com/  - internet marketing and search engine optimazation forum
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.