Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Category icon for users albums  (Read 1778 times)

0 Members and 1 Guest are viewing this topic.

BruceS

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Category icon for users albums
« on: October 22, 2013, 07:40:53 am »

In my phpBB bridged installation I have users galleries & ONLY recent additions showing on the HOME page.
http://www.ozervnews.com/gallery/
Visitors are having problems finding the Users Galleries.
I wish to include a gif alongside the words to 'catch their eyes'.
Which template etc do I add the code to? I already have the image in "images" folder.
TIA
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Category icon for users albums
« Reply #1 on: October 23, 2013, 09:28:15 pm »

Add or modify
in your custom theme.php
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"><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
******************************************************************************/
replace {CAT_THUMB} with your image code.
paste before the closing ?>

Untested
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

BruceS

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Category icon for users albums
« Reply #2 on: October 24, 2013, 01:43:37 am »

Thankyou Jeff.......... will report back on the results in due course!
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.