Join Tom Geller for an in-depth discussion in this video Hiding the Body field, part of Drupal 6: Online Presentation of Data.
- View Offline
When we went through the process of creating a custom Content type, we ran into…Drupal's two default fields: Title and Body, but we didn't want to use either of…them. Technically speaking, you can't get rid of them, however you can hide…them to make data entry easier and more user-friendly.…We'll start with the Body field, which is easier to get rid of, but first let's…take a look at what exactly a Body field is. We'll do so with the node we…created in our custom Content type of Person. It has two custom fields as well:…Personal name and Family name.…To edit this node, click on the Title, and Edit. You remember we can't actually…get rid of the Title and we don't have to put anything in the Body. In this…case I'm going to put something in the Body just so we can see what happens…with content when we get rid of that Body field.…
Let's say 'This is me hooray!' Scroll to the bottom, and save it. And if we go…to the front page, again as we expect, there is the Title, the Body, and our two…custom fields. Now, I'm going to go to Administer > Content management >…
- Importing and manipulating data in Drupal
- Presenting date-formatted information in calendars
- Understanding Drupal's data-query interface, "Views"
- Improving view appearances with grid, list, and table formatting
- Importing, exporting, and cloning views
- Extending views with arguments and relationships