x3sphere
08-03-2006, 03:09 AM
Hello, I added a new column to the forumdisplay page and noticed it somehow messed up the tables when you went to a forum that had no posts and no threads (a black box would appear where the inline moderation column was).
I figured this was because of the colspan setting but I found this variable was there
colspan="$foruminfo[bottomcolspan]"
I had to hardcode it to 8 to fix my problem but I just wondered where this variable is stored? It seems like its only used once, in the forumdisplay. I couldn't find a place to actually edit the variable ..
Ok, I manged to fix this without hardcoding anything. It still uses original variable.
Heres what I did if anyone is interested..
In FORUMDISPLAY template look for
$navbar
Add this line of code underneath
<if condition="$colspan_increment OR $foruminfo[bottomcolspan]++"></if>
Enjoy.
I figured this was because of the colspan setting but I found this variable was there
colspan="$foruminfo[bottomcolspan]"
I had to hardcode it to 8 to fix my problem but I just wondered where this variable is stored? It seems like its only used once, in the forumdisplay. I couldn't find a place to actually edit the variable ..
Ok, I manged to fix this without hardcoding anything. It still uses original variable.
Heres what I did if anyone is interested..
In FORUMDISPLAY template look for
$navbar
Add this line of code underneath
<if condition="$colspan_increment OR $foruminfo[bottomcolspan]++"></if>
Enjoy.