Closed (fixed)
Project:
Node Page Template
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2009 at 12:13 UTC
Updated:
29 Jan 2010 at 15:50 UTC
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
Comment #1
jaybee1001 commentedI'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
Comment #2
DenRaf commented