In my template.php file I’ve this:
function myadmintheme_theme(&$existing, $type, $theme, $path) { return array( 'node_form' => array( 'arguments' => array('form' => NULL), 'template' => 'ccktype', ), ); }
And I’ve a ccktype.tpl.php in the same dir:
<b>works!</b>
But is not working, if I enter to node/add/ccktype I don’t get the ‘works!’ message.. I tried everything!
any help would be appreciated
The theme function you need to override is ccktype_node_form, not node_form. All node forms maintained by the node module get mapped to the node_form function for building, but they still have unique form ids.