I am using drupal 5.1 with minnelli theme,
Looking for an easy way to display only the date in nodes, block etc...( Ex : March 23, 2007 ). Display the time is too long and useless for the website I use.
There is actually no way to do this in the date and time format settings.
Is it possible to customize our own date and time format ? Or any other ideas ?

Also looking for a way to hide the author name on each nodes ( no need also to display it ).

Any suggestions ?
Thank you

Comments

RobRoy’s picture

Category: feature » support

Go to Administer >> Site building >> Themes and click configure. You'll see a display author information with checkboxes. Deselect your desired node types. Mark this issue closed if that fixes it for you. Thanks.

PePiToO’s picture

THank you for the fast reply,
This option just help me to disable everything ( no date, time and author displayed.... )

My problem is different, I just need the date to be display ( Ex : 24 march 2007 ). I don't want any time ( Ex: 8h30am etc... ) or author name to be displayed...
I already thought about some possibilities, but i don't know how to do it :
-Customize the date and time format ?
-Modify the theme minnelli to display only the date, without time and author...

RobRoy’s picture

Edit the node.tpl.php file in your themes directory.

ChrisKennedy’s picture

Customizing date-time formats is in the works for Drupal 6, see http://drupal.org/node/105039

If you wanted to have a custom format in Drupal 5 I think you'll need to manually set the date_format_short/date_format_medium/date_format_long variable through a db command or running variable_set() somewhere (e.g. through devel.module).

scoutbaker’s picture

Status: Active » Fixed

Custom date formats is part of Drupal 6 (see ChrisKennedy's link in #4).

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.