I spent hours trying to figure out why I couldn't apply a template to my forms by following the documentation here: http://drupal.org/node/101092

Finally, I found http://drupal.org/node/145394, which explained what was happening.

Is there a way to workaround this and still use diff?

Comments

Moxide’s picture

Have you tried to override 'theme_diff_node_form' instead of 'theme_node_form' ?

For instance, if your template function is 'phptemplate_node_form', rename it to 'phptemplate_diff_node_form'.

moshe weitzman’s picture

i will be submititng a patch to core drupal so diff does not need to theme the node form in order to add its button. that won't help drual 5 users though.

moshe weitzman’s picture

Status: Active » Closed (works as designed)