[development] Theme a 4.7 node form?

Simon Lindsay simon at dirtbike.ws
Wed Feb 1 03:11:10 UTC 2006

Hi All,

I'm developing some modules which define their own node derived types, 
and I also want to use actions/workflow and the event modules.

However, by default, the actions/workflow field is at the bottom, and 
the event fields are right at the top.

I can manually edit the workflow.module & event.module files, change the 
weights, and move them around, but shouldn't I be able to "theme" the 
node edit screen, to override the settings?

I can theme the portion of the node I defined with no problems using the 
'#theme' entry in a fieldset, but that theme function doesn't receive 
the entire $form array/object.

Do I have to write a x_form_alter function, or am I just missing something?

This should also enable me to override the default event fields to use a 
popup calendar?



More information about the development mailing list