PDA

View Full Version : How to display two categories in a single row instead of single column?


row
01-02-2009, 06:17 PM
Hello,

First, I would like to thanks the mods and admins for putting up such a nice documentation in place. I was able to install PHPLD V2, modify and do some minor changes in no time just by going thro' the docs.

I am stuck up at the template design part, however. Here[favs(dot)reviewofweb(dot)com/] is the link to my PHPLD directory.

As you can see there are two main categories [B]Internet and Software that are displayed in a single column. I want these categories to be displayed in a single row (and two columns) instead. I went inside main.tpl file under templates and located this code which I believe is controlling the table behaviour:

Content visible to registered users only.I did a lot of hit-and-try but was not able to reach at my desired solution. Probably I am missing something there...

Can someone please help? Let me know if you need more info.

Thanks!

thundercow
01-10-2009, 12:45 PM
This is a pretty easy fix, but your question makes no sense. When I visit, the two categories are already displayed in a single row, two columns. Have you already fixed this?

row
01-10-2009, 04:03 PM
Thanks for your reply thundercow.
If you notice, I asked this question a week back... have fixed the problem...hope it makes sense now.

btw solution is simple ...you need to introduce <td> tags before the for loop and things will fall in place as required.

Dutchman
03-02-2009, 02:43 PM
Content visible to registered users only.

Is this the right place for the <td> tags?

Content visible to registered users only.

Last update:

Thanks row, i added the <td> tags (as shown) and now it works.