I found out that diff invalidates any themeing you do to a node form, the result from phptemplate_node_form() is not used when editing a node only when you add a new node.

I had to comment out line 422 in diff.module:
[code]
// $form['#theme'] = 'diff_node_form';
[/code]

Comments

moshe weitzman’s picture

Status: Active » Closed (fixed)

correct, you have to implement the diff theme function instead ... this won't be needed in D6.

manasiv’s picture

Hi,
This worked for me as well.Commenting line 422 enables custom theming with Drupal 5.7.

Balefire’s picture

I know this is old, but it has had me going for about 4 hours! Instead of commenting out lines, just use:

  phptemplate_diff_node_form($form) {

instead of:

  phptemplate_node_form($form) {