Disabling author info, aka "posted by"

The AL - February 11, 2008 - 16:41

How can I disable this entirely so that it never shows up on any created pages until I manually say so?

this is a theming issue.

arh1 - February 11, 2008 - 18:27

this is a theming issue. it's often handled by the 'submitted' variable in the node.tpl.php template file. you could add whatever logic you'd like to your theme to dictate if/when that information is displayed.

(it seems to me there used to be a toggle for displaying this info w/ certain content types in the admin UI, but i'm not able to find it now... i would expect to see it at /admin/content/types/* ... maybe i'm imagining it.)

(if you're new to themes, check out the Theme Developer's Guide to get started.)

=-=

VeryMisunderstood - February 11, 2008 - 18:44

goto administer -> themes
click on the configure tab
find the Display post information on area
uncheck the content types you don't want post information to show up on
done.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

so i wasn't imagining it!

arh1 - February 11, 2008 - 18:55

so i wasn't imagining it! thanks for the reminder and simpler solution, VeryMisunderstood.

Thank you! So simple. :)

The AL - February 11, 2008 - 19:09

Thank you! So simple. :)

I spoke too soon...

The AL - February 11, 2008 - 19:39

I did that, but they're still showing up.

=-=

VeryMisunderstood - February 11, 2008 - 20:41

If you are sure that you've uncheck the correct content type and are sure you saved the form.

clear your browser cache and the cache tables in the database. Especially if you have page caching turned on in administer -> performance. It's the only reason I can think of that would stop that from working. It's been part of Drupal for some time now.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

I guess it was something

The AL - February 11, 2008 - 20:50

I guess it was something specific to the theme I was using. I had to take the corresponding line out of the node.tpl.php file and now it's how it should be.

Yes but that causes post date and author to disappear

JoeCotellese - February 15, 2008 - 14:33

I tried that but then the post date and post author disappeared. I only want to hide the author. Should I just hack the theme. I'm trying to avoid it if possible because I typically find that drupal can be configured to do pretty much everything I need to do :)

Philly Tech

=-=

VeryMisunderstood - February 15, 2008 - 16:54

If you want something more then what the setting does, or less than the setting does in this case, you will have to alter it at the theme level.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

Thank You

neo00mai - March 14, 2008 - 20:00

It work and easy ,Thank you very much

 
 

Drupal is a registered trademark of Dries Buytaert.