Hide node title from public view
| Project: | Automatic Nodetitles |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
This may seem like a silly question (but not to me!) :-)
I read this response to a question about the nodetitle being set to "hidden" but still appearing:
"i think it just hides the title _input_ field on the node edit form not the title field on the node view"
My silly question is this: I installed the auto_notitle module because it says it can hide the title. I don't really care if it is hidden in the "node edit form". I need it to be hidden from view. I don't mean to be snippy, but I'm pretty sure that's what most end users are expecting. When I post various bits of information on a website, I don't want each one to have a visible title.
Is there a simple way to turn off the node title so that the webpage visitor cannot see it?

#1
Under "Automatic Title Generation" select "Automatic generate the title and hide the title field"
Under "Pattern for the title type
<?php echo '' ?>Check the box "Evaluate PHP in patter" and it should hide it from display.
#2
I followed ytin instructions and it works perfectly. One question remains: The title that AN module is giving is the title of the content-type. The result in "content" list is that all of those content-types have the same title and I cannot distinguish one from the other. Is it possible to hide the title when content is displayed AND for the node to have a unique title, auto-generated or not?
POSTSCRIPT:
I am **not** a php, c++ or other coder. But, I looked at the previous poster and the readme file for AN and I came up with this php code:
<?php$token = '[field_body_image-filefield-description]';
return $token;
echo ' ' ;
?>
How can I modify this as it's displaying the description as title but now the echo part no longer works. I truly do not know what I am doing! :-)
#3
SOLVED: To eliminate the title on the display, I decided to create a new node.tpl.php file (node-contentypename.tpl.php) and deleted the print $title variable. This works for me because I am using a content-type for images that will be referenced within a cck field of another node. I have successfully eliminated the images content-type title when displayed. It's much easier than fussing with php here (if even possible) or using css to hide the display.