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: Can I modify themes to have icon for sub category?  (Read 4166 times)

0 Members and 1 Guest are viewing this topic.

Phalanx

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Can I modify themes to have icon for sub category?
« on: July 03, 2004, 09:58:37 pm »

Is it possible to modify the themes so that I can insert an icon beside the sub-category? Ex:

Category
Category
icon     Sub Category 1
            Sub Category 1
icon     Sub Category 2
            Sub Category 2

Thanks much in advance.
Logged

DaMysterious

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 404
  • My CPG Recources
    • My CPG Recources
Re: Can I modify themes to have icon for sub category?
« Reply #1 on: July 04, 2004, 12:07:40 am »

Is it possible to modify the themes so that I can insert an icon beside the sub-category? Ex:

Category
Category
icon     Sub Category 1
            Sub Category 1
icon     Sub Category 2
            Sub Category 2

Thanks much in advance.

Yes you can!

The are two places where you have to look and change in theme.php

The first one (with img link from my resource):
Code: [Select]
<!-- BEGIN catrow_noalb -->
<table width="100%" border="0" cellPadding="2" cellSpacing="1" class="forumline">
  <tbody>
    <tr>
          <td class="tableh2" colspan="3"><table border=0 ><tr><td>
 <img title="Category" alt="Category" src="themes/helius/images/folder_big.gif" border="0" />{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>

    </tr>
  </tbody>
</table>
<!-- END catrow_noalb -->

And the second one (with img link from my resourece):
Code: [Select]
<!-- BEGIN catrow -->
<TABLE width="100%" border=0 cellPadding=2 cellSpacing=1 class=forumline>
  <TBODY>
    <TR>
                <th width="70%" noWrap class="thCornerL" align="left"><table border=0 ><tr><td><img title="Category" alt="Category" src="themes/helius/images/folder_big.gif" border="0" />{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></th>
                <th width="15%" noWrap class="thCornerL" align="right">{ALB_COUNT}</th>
                <th width="15%" noWrap class="thCornerL" align="right">{PIC_COUNT}</th>
    </TR>
  </TBODY>
</TABLE>
Logged
DaMysterious.

Phalanx

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Can I modify themes to have icon for sub category?
« Reply #2 on: July 04, 2004, 06:41:36 am »

Thanks.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.