Author Topic: categories three tables problem - urgent!  (Read 4589 times)

0 Members and 1 Guest are viewing this topic.

Offline bajjen

  • Pre-Newbie
  • Posts: 1
    • View Profile
categories three tables problem - urgent!
« on: March 04, 2007, 05:45:29 PM »
I am trying to code this gallery : http://www.impeccabledwaynejohnson.net/gallery/ and I want the categories to look like on a coppermine, lile this http://elijah.fanfave.net

See how each category title starts on a new row? In 4images, yuo have THREE categories / row. I want just ONE. SO I tweaked the code, but something is making the categories triple so I always end up with three cat per row. Why? How can I change this? I would highly appreciate ANY help :D

In my category_bit.html I have this code:
Code: [Select]
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">

        <tr>
                <td class="tableh1" width="80%" align="left"><b>Category</b></td>
                <td class="tableh1" width="10%" align="center"><b>Albums</b></td>
                <td class="tableh1" width="10%" align="center"><b>Files</b></td>
        </tr>

        <tr>
                <td class="catrow" align="left"><table border="0"><tr><td></td><td><span class="catlink">

 <a href="{cat_url}" class="maincat">{cat_name}</a>&nbsp;({num_images})</span>

{if cat_description}<span class="smalltext">{cat_description}</span><br />{endif cat_description}
{if sub_cats}{sub_cats}{endif sub_cats}

</td></tr></table></td>
        <tr>
            <td class="tableb" colspan="3"></td>
        </tr>

        <tr>
                <td class="catrow" align="left"><table border="0"><tr><td></td><td><span class="catlink"><b>
 <a href="{cat_url}" class="maincat">{cat_name}</a>&nbsp;({num_images})</span>

{if cat_description}<span class="smalltext">{cat_description}</span><br />{endif cat_description} {if sub_cats}{sub_cats}{endif sub_cats}

</td></tr></table>
</table>

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: categories three tables problem - urgent!
« Reply #1 on: March 05, 2007, 06:06:28 AM »
Hi,

go only in your admin control panel (ACP) :!:

In General/ Settings/
Category settings /
Number of table cells   ==> 1



cu
Kurt