Quote:
Originally Posted by kairev
This is what I'm trying to accomplish:
http://www.hockeyforum.com
See how each team is listed in different categories (Atlantic Division, Northeast Division, Southeast Division, etc). It looks like a subforum of a subforum, almost. How can I do this? The only thing I'm able to get going here is columns for the first set of subforums...but those subforums have subforums too. ie my first set of subforums would be labeled Atlantic Division, Northeast Division, Southeast Division. I have all the teams set as subforums of those...but they aren't showing up on the main forum. I attached a screenshot of what I get...
Can anyone please help?
|
it's very easy.
First you set the main forum which will hold the subforums, you set how many columns you want, then you get the forumid
then you edit the template
Quote:
forumhome_forumbit_level1_nopost
|
you look for:
Quote:
<table style="border: none; width: 100%;">
$childforumbits
</table>
|
and depending of the amount column that you set, this is how many <td that you put. For example for 3 columns, you would place the red in your template, replacing xx with the main forumid
Quote:
<table style="border: none; width: 100%;">
<if condition="$forum[forumid]=='xx'">
<tr><td class="thead">Column 1 Title</td><td class="thead">Column 2 Title</td><td class="thead">Column 3 Title</td></tr>
</if>
$childforumbits
</table>
|
then in admincp you simply arrange the subforums order so they display in the proper column.
You might want to add some css in the td to give them some padding