Hi,

Currently, there is no way to set the weight of the Template field in a node's content creation page. Would it be possible to add support for weight on this so that the field can be appropriately positioned when creating content.

Thanks

Comments

jaybee1001’s picture

I've added the following to the module file which seems to work nicely:

function node_page_content_extra_fields($type_name) {
if (!empty($type_name)) {
$extra = array();
$extra['template'] = array(
'label' => t('Page Template'),
'description' => t('The page template used'),
'weight' => 10,
);
return $extra;
}
}

I don't know how to roll this into a patch, so any help welcome here.

Thanks

DenRaf’s picture

Version: 6.x-1.0 » 6.x-1.2
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.