PDA

View Full Version : possible html errors in templates


Jake Bunce
Tue 18th Dec '01, 4:24am
vb version 2.2.1

i think i found an error in forumdisplay_threadslist and forumdisplay_announcementsonly. colspan="8" or nobr?

original problem/symptom: under Classic Mac IE 5.x when viewing forumdisplay there is an extra section of table to the right of the content table. this problem is intermitant. see attached pic.

i was troubleshooting this with c-prompt for a while. we never figured it out. then later on in the process of designing a new layout i found that my forums were having the same problem. the problem was intermitant. i contacted c-prompt he said that he found the problem to be the <nobr> tags in the forumdisplay_threadslist template. sure enough, i removed those tags and the problem went away (but then the "thread sorting" row wraps on lower res).

after looking at the templates further i think i found an error... in the contect area of the forumdisplay there are a total of 8 columns, BUT if you have thread ratings disabled for that forum then there are only 7 columns. in the forumdisplay_threadslist and forumdisplay_announcementsonly templates there are tds with the attribute colspan="8". if thread ratings are disabled then this colspan attribute should be 7, right? anyways, i tried keeping thread ratings off and setting these two templates to colspan="7"... the original problem remained. so then i tried resetting the templates to default and turning on thread ratings in that forum... the original problem was gone.

in summary:
1) there is an intermitant layout problem with Classic Mac IE 5.x in the forumdisplay.
2) removing the nobr tags from forumdisplay_threadslist fixes the problem.
3) staying with default templates and enabling thread ratings fixes the problem.
4) there appears to be colspan mismatches relating to the thread rating column in the above two mentioned templates but attempting to correct the supposed colspan errors does not fix the original problem.

i'm prolly overcomplicating this in trying to find the source of the problem :p. i think you guys should just check over the forumdisplay templates while keeping what i've said in mind.

Goldfinger
Tue 18th Dec '01, 4:43am
Cool buttons on that forum :D

Jake Bunce
Tue 18th Dec '01, 4:49am
that's a pic from the forum firefly was working on. i was being his mac computer cos he doesn't have one.

c-prompt: there, try it now
me: nope, it's still there
c-prompt: how about now?
me: nope still messed
cont for like forever!

Chen
Tue 18th Dec '01, 9:18am
Originally posted by Jakeman
that's a pic from the forum firefly was working on.
Really? :confused:

Jake Bunce
Tue 18th Dec '01, 4:04pm
doh! i meant c-prompt :o

c-prompt
Wed 19th Dec '01, 3:05pm
lol Yeah I spent 6 hours trying to find out what was causing it. The problem is that I dont have a mac and because of it being mac reliant I had to find someone to test for me. Enter Jakeman. lol

Those forums are at

www.macfora.com