Active
Project:
DruBB
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2009 at 15:22 UTC
Updated:
9 Mar 2011 at 21:58 UTC
I am not using DruBB itself on my site, but I used parts of it. One bit that I used is:
// Add identifier that can be used in css to target forum posts.
$form['#prefix'] = '<div class="forum">';
$form['#suffix'] = '</div>';
I've discovered that bit of code on my site breaks previewing. Probably because it's overwriting this from node.pages.inc:
if (isset($form_state['node_preview'])) {
$form['#prefix'] = $form_state['node_preview'];
}
Since I'm not using DruBB as is, it's possible something else in DruBB prevents this problem but I didn't see anything on scanning through the code. It would be good if someone using DruBB could check if preview is working for them on forum nodes.
Michelle
Comments
Comment #1
merlinofchaos commentedHmm. Ok, while comment previews are working but a little odd looking, forum node previews are totally broken on my drubb install. :/
Comment #2
tom_o_t commentedSame here
Comment #3
michelleFWIW, I just did this and it seems to be working on my site (again, though, not using the actual DruBB module):
Michelle
Comment #4
eidolon nightUsing the latest DruBB #3 worked for me as well.
Comment #5
michelleWow, someone is actually using DruBB? That's like a blast from the past. :)
Michelle