By zeezack on
I am working on a project that uses a lot of content types. These types represent say the pages in magazine, but are related to the same issue.
If there are MANY issues, and many "pages" - then the default title of the content types may look generic. How can I display say - a custom External Field or custom Internal field - so that one can distinguish the content a little easier.
I need to modify the node_admin_content form - and include this global custom field as part of the body table. How do we go from here?
I've hooked into the admin theme, and I am getting some access or feeler on the form, but how do I modify it accordingly?
function seven_form_alter(&$form, &$form_state, $form_id) {
drupal_set_message("Form ID is : " . $form_id);
//get node_admin_content
//$nodeAdmin = drupal_get_form("node_admin_content");
// Add a checkbox to registration form about agreeing to terms of use.
$form['node_admin_content']['poland'] = array(
'#type' => 'checkbox',
'#title' => t("I agree with the website's terms and conditions."),
'#required' => TRUE,
);
}