This question is in regards to adding content, I'm not thrilled at all with the default way that the Create Content>page requires a title, that is then displayed above the page's content. Adding the content into the Mission Statement for the 'home page' seems to work well to add content without the anoying title. However add ing content through the Create Content>page, requires the title field to be completed, and then is displayed. Is there a way around this default action, or a way to just disable the title from being displayed??

thx

hedge

Comments

sepeck’s picture

You need a title. The mission statement is a special area. You can through your theme not display the title but I've not tried to do that so not entirely sure which variable to pull out of node.tpl.php

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

mork’s picture

you can, as mentioned above, simply remove the display of the title.. pulling from the box_grey template as an example, you'll find the following line responsible in node.tpl.php

<h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>

simply removing it gets rid of the title. Keep in mind, this will remove the title for all node types.. you could likely add an if/else to remove it only from desired node types.

Even by doing the above, you'll still need to enter the title when adding/editing a page.. though there are ways around that as well.