Drupal coder

Hiding the body field for certain content types

I only discovered this today (this happens when you don't read the small letters below a form field) and thought I might share this with you.

You can hide the body field for your content types! Just leave the 'Body field label:' field in the content type form empty and you're all set.

March 14, 2008Drupal

Comments

Thank you very much, that was pretty easy. I thought i would have to edit the node-edit.tpl.php page to get this done.

But if you try to insert a new revision you will get an error!

Thank you!!! :)

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options