I have some content types that don't require either title or body fields, how can I remove them from the create content screen?

Thanks

Comments

j0hn-smith’s picture

I found that to not have a body you need to leave the body title tag empty when you create the content type.

The title is required though so I'd still like to know how to remove it.

jaku ayala’s picture

I don't think there's a way to have a content type without a title, but if you use the Auto nodetitle module, you can hide the title from the user.

Anusha Isaacraj’s picture

Works like a charm !
Thanks...

ambientdrup’s picture

One method using tweaks to CSS:

1) You can hide the node title in your style.css, or using "contemplate" module, as custom CSS override in your template. For example:

#main h1.title {
display:none;
}

Just set the title to display none - this will hide it from your node content, but it will still display it in your browser menu bar. Bear in mind that I'm not positive on what effect this will have on your site's search results via Google, etc.

Body is not required in your content type form, so just stick in the body field and it will not display.

j0hn-smith’s picture

This node type is only going to be used for storing data that can be accessed by other nodes, site visitors will not see nodes of this type.

I want to hide/remove the title from the create content page for this content type as I don't want content inputters to have to fill the field with rubbish just because it's there.

Jeremy Toaster’s picture

I have found where to remove the BODY field.
Content Management > Content Type
Choose the Content Node Type you wish to edit.
Find "Submission form settings" and remove the word BODY from the field.

It looks like "Title" is required.

j0hn-smith’s picture

The title is used on the admin pages as the text for the link to the node to view/edit. It's not wise to remove the title tag.

cm1se7en’s picture

Thank you so much

Anusha Isaacraj’s picture

Its working... Thanks !

kwgossett’s picture

I have a similar problem, and auto nodetitle doesn't seem to work for me.

My "Event" content type references other nodes (Description, Location, Payment Information, etc). I use nodereference to 'call' the description into the event, etc. This works, in principle, but creates many unneeded titles and links to each referenced nodes. I would like to remove the referenced node titles (and their links) entirely.

Auto nodetitle only removes the title from the original node. So, for example, I use auto nodetitle on 'Description' and tell it to auto-create & hide the title...it does so on the 'Description' node....but still shows the title & link when I call the 'description' into the Event content type.

Are there any other suggestions on how to remove the title from these referenced nodes? I've gone all through the Content Type's Display Fields as well, and none seem to 'remove title and display node'. Any suggestions would be greatly appreciated.

Thanks,
Kelly

davidlark’s picture

... by removing it from your theme.

mjndn’s picture

ya itz working on submission form settings
thx 4 posting

funkyboy’s picture

Hi,

I have a similar problem. I don't want title to be a mandatory field when the user creates content.
Is it possible?

Jeff Burnz’s picture

You can use the node auto title module to set a title when the user does not, however every node MUST have a title, no getting out of that afaikt.

redearthbluesky’s picture

Hi,

I simply used firebug to do a search for the element I was trying to remove the title from, in my case a series of images, messed around with ids and ended up using this in my css file...

#content-area .title {
display:none;
}

titles gone

jan_v’s picture

with the css' famous display:none; The title isn't removed. it's just not visible. There's a huge difference between those two.

For some content types, inserting a title could seem very unlogic. For example a content type "match" with a date field and opponent field. There is really no room for a title field here.

The title tag would have to be removed from the content type.
I have tried, but failed every time :)

Damn you title field

jyotisankar’s picture

Using this module the title option is not coming for administrator while creating content. But for the end user the title option is coming. In my project we have given option for the astronomy user to add content using content type.
Please suggest how do we remove the title option from a content type.

Jyotisankar Pradhan

TamusJRoyce’s picture

Digging an old post, but I had the same issue. I'm not sure about all themes, but for Omega:

  1. Copying ./themes/omega/templates/region--content.tpl.php to ./sites/all/themes/[your theme]/templates/
  2. Open ./sites/all/themes/[your theme]/templates/region--content.tpl.php
  3. Remove print $title or whatever similar your template shows.

You can edit region--content.tpl.php directly on a main theme and remove "php print $title", but I suggest making a sub-theme (make a directory, ./sites/all/themes/[your theme]/ and follow a tutorial the best way to copy and change your sub-theme to your likings).

darol100’s picture