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
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
..\/..
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' . . .
Edited . . . answered above!
node-[node_type].tpl.php
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
All, thanks for the info/tips...
joe