Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By rstoeber on
I'm using image, img_assist and tinymce on drupal 4.7
When uploading images my users don't need the Body/text block, and new people get confused so I would like to disable that. Is that possible?
I've looked all around and don't see it as an option that can be enabled/disabled. So if this isn't possible from the Administration interface does anyone know where to find the input/upload form and I'll simply remove the textarea for the body?
Thanks.
Comments
Perhaps instead of editing
Perhaps instead of editing the default content types, you might want to try using CCK to create a content type that matches your needs
To do this with Image module
To do this with Image module I modified the image.module file by commenting out:
$form['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#rows' => 20, '#default_value' => $node->body);
AND
$node->body = theme('image_body', $node, $request);
This causes image to disappear from the node
I, too, would like to remove the body box fom the form, but using the fix mentioned causes the image to not show in the node.
Any way to remove the box, but still display the image on it's own node? All I have left is the title.