Disabling Authur Submitted By Info

joeleo - March 28, 2008 - 23:32

Can someone tell me how to disable the author & date/time info when a node is submitted. I would like to control this on a per node type basis only - Not site wide.

Joe

..\/..

jfall - March 28, 2008 - 23:43

Go to
admin/build/themes/settings

You can "Display post information on" each node type there.

Not sure if this can be done 'per node' . . .

Biggynuff - March 28, 2008 - 23:45

Edited . . . answered above!

node-[node_type].tpl.php

efolia - March 28, 2008 - 23:50

As an alternative, create a modified template file (.tpl.php) specific to your node type based on the generic node.tpl.php and remove or alter the way $submitted is displayed. For instance, if you want to remove the display of information related to authoring in the content of type 'story', copy node.tpl.php in node-story.tpl.php and remove the php code that prints out the $submitted variable.

Please refer to the following documentation page for further details on how Drupal handles the templates and content types.
http://drupal.org/node/17565

Cheers,

efolia

All, thanks for the

joeleo - March 30, 2008 - 15:43

All, thanks for the info/tips...
joe

 
 

Drupal is a registered trademark of Dries Buytaert.