Category in 2 columns Category in 2 columns
 

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

Category in 2 columns

Started by mid0ri, September 17, 2004, 09:12:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mid0ri

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