How could I disable "Submitted By bla bla bla" on post for particular content type using drupal module?

Any response would highly appreciated.

Comments

ayman_ar’s picture

Why not through the node.tpl.php template? Thats how I did it

c-devour’s picture

I want to create a custom module. This custom module has responsibility to create a new content type directly from php code, say the content type name is "projects". And I want every node that created with "projects" content type, showed with no "submitted by" bla bla bla.... And I also want to keep "submitted by" information on other content type, such as story content type. Thats what I wan't to do. Any suggestion?

cog.rusty’s picture

You can simply go to the admin/build/themes/settings page, select your current theme from the tabs at the top, and then select which content types display the authoring info.

Or, go to your theme's disk directory, create customized copies of node.tpl.php for the content types you want, name them node-contenttype.tpl.php, edit them and remove the print $submitted; part.