Can I modify themes to have icon for sub category? Can I modify themes to have icon for sub category?
 

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]

Main Menu

Can I modify themes to have icon for sub category?

Started by Phalanx, July 03, 2004, 09:58:37 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Phalanx

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.

DaMysterious

Quote from: Phalanx 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.

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):

<!-- 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):

<!-- 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>
DaMysterious.