Closed (fixed)
Project:
flatforum
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2005 at 14:56 UTC
Updated:
23 Jan 2006 at 14:24 UTC
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
Comment #1
jjeff commentedI 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...
Comment #2
jjeff commentedCrap... there's supposed to be a [table] and [/table] tag between those php statements but Drupal stripped it out.
Comment #3
Ayman commentedThis is fixed in new CSS version, thanks.
Comment #4
Ayman commented