? 441172_cck_extra.patch
Index: nodetype.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/nodetype/Attic/nodetype.module,v
retrieving revision 1.2
diff -u -p -r1.2 nodetype.module
--- nodetype.module	23 Mar 2008 14:48:34 -0000	1.2
+++ nodetype.module	1 Oct 2009 21:07:14 -0000
@@ -51,3 +51,24 @@ function nodetype_form_alter(&$form, $fo
     );
   }
 }
+
+/**
+ * Implementation of hook_content_extra_fields().
+ *
+ * Information for the positioning of non-CCK contrib fields
+ * @see content_extra_field_weight()
+ *
+ * CCK scrambles the node edit form when the 'body' is repositioned. Allow the
+ * CCK UI to fix that and place the widget where you want.
+ */
+function nodetype_content_extra_fields($type_name) {
+  $extra = array();
+  if (user_access('change node types')) {
+    $extra['nodetype'] = array(
+      'label' => t('Content type'),
+      'description' => t('Node Type Switcher'),
+      'weight' => 10,
+    );
+  }
+  return $extra;
+}
