Revision: 20223
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 10, 2009 05:51 by Ateneatech
Initial Code
function foo_form_alter(&$form, $form_state, $form_id) { if ($form['#id'] == 'node-form') { if (!empty($form['body_field'])) { $form['body_field']['teaser_js']['#type'] = 'hidden'; $form['body_field']['teaser_include']['#type'] = 'hidden'; } } }
Initial URL
Initial Description
Replace *foo* with your module name
Initial Title
Remove "Split summary at cursor" button
Initial Tags
drupal
Initial Language
PHP