How to hide Body field in a CCK content
Hi all, I've created a new content with CCK, all the fields are displayed correctly, but I don't use the Body field (displayed by default) and I would like to hide it, is it possible or not? Regards -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay
Can't you just delete its title and it doesn't show? ----- Original Message ----- From: "Massimiliano Marini" <max.linuxtime@gmail.com> To: "Drupal Support ML" <support@drupal.org> Sent: Monday, July 20, 2009 9:21 AM Subject: [support] How to hide Body field in a CCK content
Hi all,
I've created a new content with CCK, all the fields are displayed correctly, but I don't use the Body field (displayed by default) and I would like to hide it, is it possible or not?
Regards -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay -- [ Drupal support list | http://lists.drupal.org/ ]
On Mon, Jul 20, 2009 at 5:51 PM, Massimiliano Marini < max.linuxtime@gmail.com> wrote:
Hi all,
I've created a new content with CCK, all the fields are displayed correctly, but I don't use the Body field (displayed by default) and I would like to hide it, is it possible or not?
Goto to content management -> content type -> edit "content name" -> Submission form settings -> Body field label -> remove the label of this field -> save content type. -- Thanks Sivaji
Neil and all, This is one of those "secret" Drupal tricks that, once you've done it a few times, you don't even notice how counter-intuitive this method is. I was 2 years into using Drupal before I ran into your problem and someone pointed out that help-text to me. I had never noticed it before. The help-text is clear, "To omit the body field for this content type, remove any text and leave this field blank" but its weird deleting a field by removing its label and it would be much more intuitive if this were managed on the "Manage Fields" page. For Drupal 7, I believe the "body" field is going away altogether now that "fields" (aka CCK or much of CCK) is moving into core. I think that was the plan, but not sure if they got that far. Shai On Mon, Jul 20, 2009 at 10:06 AM, sivaji j.g <sivaji2009@gmail.com> wrote:
On Mon, Jul 20, 2009 at 5:51 PM, Massimiliano Marini <max.linuxtime@gmail.com> wrote:
Hi all,
I've created a new content with CCK, all the fields are displayed correctly, but I don't use the Body field (displayed by default) and I would like to hide it, is it possible or not?
Goto to content management -> content type -> edit "content name" -> Submission form settings -> Body field label -> remove the label of this field -> save content type.
-- Thanks Sivaji
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi Sivaji and all for the help,
Goto to content management -> content type -> edit "content name" -> Submission form settings -> Body field label -> remove the label of this field -> save content type.
It works, thanks! :) -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay
participants (4)
-
Massimiliano Marini -
Neil Coghlan -
Shai Gluskin -
sivaji j.g