forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: mid0ri on September 17, 2004, 09:12:11 am
-
I need to display sub-categories in two columns like this:
Category: RealVideo
Food Nature
Multimedia User galleries
I modified the following project_vii theme.php as follows
<!-- BEGIN catrow -->
<tr>
<td class="tableb" width="28%">
<table border="0">
<tr>
<td>{CAT_THUMB}</td>
<td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td>
</tr>
</table>
</td>
<td class="tableb" align="center" width="9%">{ALB_COUNT}</td>
<td class="tableb" align="center" width="9%">{PIC_COUNT}</td>
<td class="tableb" width="30%">
<table border="0">
<tr>
<td>{CAT_THUMB}</td>
<td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td>
</tr>
</table>
</td>
<td class="tableb" align="center" width="9%">{ALB_COUNT}</td>
<td class="tableb" align="center" width="9%">{PIC_COUNT}</td>
</tr>
<tr>
<td class="tableb" colspan="3">{CAT_ALBUMS}</td>
<td class="tableb" colspan="3">{CAT_ALBUMS}</td>
</tr>
<!-- END catrow -->
Consequently, the same sub-categories are repeated twice on the both columns:
Category: RealVideo
Food Food
Nature Nature
Multimedia Multimedia
User galleries User galleries
Is there someone who is kind enough to help me to correct the HTML code above? Is there any other php files that I need to edit?
Thanks in advance,
midori