Closed (works as designed)
Project:
Diff
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2007 at 09:48 UTC
Updated:
20 Jun 2007 at 21:18 UTC
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
Comment #1
Moxide commentedHave 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'.
Comment #2
moshe weitzman commentedi 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.
Comment #3
moshe weitzman commentedthat patch is http://drupal.org/node/133028