How to hide a page title? Its seems that when we create a page(create content->page) we should give the Title of a page. Is there any way to hide this title? in other words I want to put it blank.

Comments

Yuki’s picture

Any body has any idea?

sbrodolo’s picture

you can create a new content type mypage
then copy the file node-mypage.tpl.php to node-mypage.tpl.php in your theme directory
edit node-mypage.tpl.php and remove line
print $title;

varal’s picture

I find this very strange, isn't there a simple way to globally disable the title of a node of a certain content type? I also want to disable the display of 'submitted by' and the term, in a view. Is that really not possible without changing the theme?

WorldFallz’s picture

You can turn off the 'submitted by' info by content type at admin/build/themes/settings. For title, no, you need to either alter the theme or use the http://drupal.org/project/auto_nodetitle module.

grobemo’s picture

If you're trying to do this in a View, change the display type from node to fields and choose only the fields that you want to display.

varal’s picture

Thanks grobemo, but exactly how and where do I do that? My view at the moment looks like this:

http://www.merelart.com/view1.png

And for some reason or other I can't specify which fields I want to see and which not.

vm’s picture

it doesn't utilize fields because you have row style set to node. Set row style to fields and you can add fields.

varal’s picture

Indeed, that worked for me, I can now get the pages the way I want, thanks for the help. I do think the UI of the view module is way too complicated though, I hope they will find a way to make it easier to use in the future. Powerful it is however.

grobemo’s picture

Use the Automatic Nodetitles module to hide the Title field on your node creation form. (I'd recommend using the Token module to give the nodes a descriptive title anyway, so that you can see what they are in lists of content.)

You can prevent the (automatically generated) title from displaying on the page by altering your node.tpl.php and page.tpl.php files. (Look for places where it prints $title and remove them or comment them out.)