hey,

I have a cck type that im trying to remove the Body field for. Ive searched the forums and came across someone with the same problems [ http://drupal.org/node/206453 ] although they didnt seem to work.

I first tried removing any text in the body label field which states : "To omit the body field for this content type, remove any text and leave this field blank.".

Since that didnt work I tried using the FormFilter module. It showed a checkbox beside 'Hide Body' and so i clicked it. It sadly didnt work either.

Any ideas/thoughts?

Comments

add1sun’s picture

Hm, well that should work. I wonder if you have already created content of that type with a body in it and so Drupal doesn't want to remove it?

Lullabot loves you | Be a Ninja, join the Drupal Dojo

Drupalize.Me, The best Drupal training, available all the time, anywhere!

chrisJTAM’s picture

Hmm good idea, let me go back and check to see if there is any content in past nodes. will let you know

dwils03’s picture

I'm also having this same problem. I even tried the FormFilter Module (good suggestion), but to no avail. I think that the problem might have something to do with the RTE module that I'm using (TinyMCE). It may force the body field in some way.

Does anyone have any suggestions?

Boowee-1’s picture

Hi,

I found this page through search, and although the thread was unfinished, what I read here did help me. I thought I'd follow up and let late-comers know that the advice on this page was helpful and correct.

I had the same problem in which I was trying to remove the Body field from a Content Type, and although I was following the instructions on the page, the Body field was not disappearing.

I'd like to note that the observation above was correct in guessing that I was already using the Content Type's body field in already created content. To get the Body field to disappear by "remov[ing] any text and leav[ing] this field blank," I had to delete all previous content that was making use of the Body field in that Content Type. Now the Body field appropriately disappears when I follow the instructions to remove the name of the field.

johanwin’s picture

On the Content Type's "Edit" tab, you can remove it by leaving the input text field on the "Body field label" blank underneath the "Submission form settings." I learned about it by watching the video from this DrupalCon 2010 presentation (around the 6 minute mark): http://sf2010.drupal.org/conference/sessions/views-examples-using-argume...

kidsil’s picture

Worked perfectly, thank you.

AlxVallejo’s picture

wow, this answer should be highlighted somehow...