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?

Comments

ytin’s picture

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.

Sunshiney’s picture

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:

 $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! :-)

Sunshiney’s picture

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.

browlands’s picture

Per content type and per node checkboxes options would be a nice feature: -

For content type: -

1) Automatically generate title and hide title in view
2) Automatically generate title and show title in view
3) Automatically generate title and allow author to decide if shown in view (also defaults the autonode title to [nid]
4) Manually enter title and hide title in view
5) Manually enter title and show title in view
6) Manually enter title and allow author to decide if shown in view

For each content node: -

where 3) and 6) include check box in node edit, "Show title in view"
where 1) and 4) include message "Title will not be shown in node view"

Any thoughts?

manish-31’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)