Solved: 14 Years, 3 Months, 3 Weeks ago $Colspan problems
#1
Solved: 14 Years, 3 Months, 3 Weeks ago
I've got $colspan problems. It seem the number of columns is being calculated appropriately. So it leaves one or two columns not done in some rows. It this particular theme, they remain in dark blue at the end. I've copied the result HTML to Dreamweaver, and what seems is that the $colspan ends up being 8 when it should be 9, or somesuch, thus it doesn't cover the whole table.

Url: www.thecomicszone.com

A couple of pages displaying the problem:

http://www.thecomicszone.com/news-f-2.html

In the separator row.

http://www.thecomicszone.com/general-f-24.html

In the separator and footer rows.

Thanks in advance!
[Image: banner-small-transparent.png]
#2
Solved: 14 Years, 3 Months, 3 Weeks ago
If you need to change the numbers in $colspan, you can do so by editing forumdisplay.php. You should find 3 lines regarding $colspan:
$colspan = "7";
$colspan = "6";
++$colspan;
The first line is the number of columns when thread ratings are enabled, the second is when they're disabled. The 3rd line just means to add 1 to the number of columns if the user is a moderator (to show the inline moderator checkboxes).
#3
Solved: 14 Years, 3 Months, 3 Weeks ago
Thanks a bunch, added one to the default values and it's fixed.
[Image: banner-small-transparent.png]


Forum Jump:


Users browsing this thread: 1 Guest(s)