Hi CHX,

Good work with this theme/module. It's really great to get forums to work like other BBS systems.

I'm having a problem when users select 'preview' for a new forum topic. The content comes in without any table tags around it and Firefox freaks out.

My guess is that node-forum.tpl.php needs to test to see whether it's a preveiw and if it is, insert a surrounding [table] tag.

Any ideas how to do this?

-Jeff

Comments

jjeff’s picture

I think I figured it out:

Add this to the top of node-forum.tpl.php (including the php tags):

if($_POST['op'] == t('Preview')) {

}

And this to the bottom:

if($_POST['op'] == t('Preview')) {

}

Hmmm.... Will this break things when comments are previewed?

Grrr...

jjeff’s picture

Crap... there's supposed to be a [table] and [/table] tag between those php statements but Drupal stripped it out.

Ayman’s picture

Status: Active » Fixed

This is fixed in new CSS version, thanks.

Ayman’s picture

Status: Fixed » Closed (fixed)