CCK Field - get rid of title
calebm12 - June 29, 2009 - 01:40
Hi
I am trying to create a new content type to record "Cooks". It will only be a content type that can be created by ad admin. There is no use really for title or for body. I am using cck and just need fields like name, style of cooking (dropdown), state (drop down)
When i go to manage the fields it wont let me get rid of title or body. Is this not allowed. If it isnt what do i do. I dont really need either of those fields.
My goal is to be able to make a page that displays all the "cooks" organized by state.

=-=
when you are setting up a content type. You have the choice to alter the submissions form. remove the word "body" and the body field will be removed.
Title field is another animal.
1 option I use = pick the most important text field I am adding to the content type and alter the title field to be that item.
another option = get auto_nodetitle.module. With it you can use tokens to generate titles, and hide the form field on the form.
Remove the Body by erasing
Remove the Body by erasing its label... it won't show up on the form then. All nodes "must" have a title, however you can cause it to be automatically generated to a specific pattern and hidden on the form using http://drupal.org/project/auto_nodetitle
*Edit* VM beat me to it :P
-- David
davidnewkerk.com | absolutecross.com
View my Drupal lessons & guides
Many thanks!! I will just use
Many thanks!!
I will just use name for the title.
Great minds
Great minds think alike though.