At http://example.com/admin/content/types/event there is this text:
To omit the body field for this content type, remove any text and leave this field blank
I assume this means that when one goes to Submit an Event the Body textarea will not be there to be filled in. However it is. Is this a bug, or am I not understanding what leaving this field blank does.

Comments

willvincent’s picture

After searching through the code, I have discovered the issue..

The body field is being overridden in the contrib/basicevent.module module.

willvincent’s picture

Component: Documentation » Basic Event
Category: support » bug
Status: Active » Fixed

To fix this, modify the code:

   $form['body_filter']['body'] = array(
    '#type' => 'textarea',
    '#title' => t('Body'),
    '#default_value' => $node->body,
    '#rows' => 20,
    '#required' => TRUE
  ); 

This begins on line 79 of the modules/contrib/basicevent.module file. To change the label of the body field, alter the t('Body') tag to whatever you would prefer other than Body. To disable it as a required field, change TRUE to FALSE. To eliminate the field altogether, comment out the entire snippet I've listed.

stevenpatz’s picture

I really wouldn't call that a fix. A workaround maybe.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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