How do disable "title", "body" field in the content type.
I use cck to create the filed which I need.
But I don't need the "title" and "body" field
How to disable it???

Comments

vm’s picture

edit the content type
expand submission form collapsed menu
you can change the title but you can't remove it
to remove body field simply omit the body label
if you want to autogenerate titles, investigate the autonodetitle.module you can than hide it in the form. though a title is still created.

vsr’s picture

The body could have been named something else. You can prevent the title from showing in the output by creating a custome template for output using the Contemplate.

I elieve that when you use CCK you can rename the title and body to different names when you make the content type. You can use Contemplate for control how the fields are sisplayed.

mykingla’s picture

How to control the size of the title field
I find the size of title is too long.

vsr’s picture

Yuki’s picture

subscribing

marthinal’s picture

Table node_type field has_body to "0" then you unset the field . From the code you can do it also

The only source of knowledge is experience. ~ Albert Einstein.

hoangbien’s picture

Thanks you very much,
you can help me disable menu link in content type.