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

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

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 1 Guest 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.