postponed on #216961: Make author/submitted by separate toggles
and related to comments #70-#74 on #143434: Usability Issue: Post Information Settings
Allow a (drop down) configuration option to pick the format of the date displayed for the publication date.
in D6, admin/settings/date-time/formats, Admin -> Site Configureation -> Date and Time
has a setting allowing the creation of new Date formats. It would be cool to make a "Book Year" format, and on content types for Book, be able to pick that format for displaying the publication date in the post settings.
So for each content type:
Display Settings:
[ ] Display authors username
[ ] Display creation date
--- Select date format: [drop down: long, short, etc. ] (?)
The Select could be disabled or grayed out if the display date is unchecked.
And the (?) help would open up a link to the Admin Date and Time settings page and include a statement like: Change current date and time formats or create a new format.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | 477170-13-content_type_date_format.patch | 138.9 KB | madhavvyas |
| #9 | 477170-5-content_type_date_format-2.patch | 66.24 KB | Miguel.kode |
| #5 | 477170-5-content_type_date_format.patch | 2.48 KB | adammalone |
Comments
Comment #1
webchickHm. At first glance, I think this is overkill, and something that'd be easy enough to add in with a contrib module if you want to give people that much control.
Tagging for other opinions.
Comment #2
sun.core commentedComment #3
Bojhan commentedYhea, no this is a bad idea. Look at Joomla, they have accepted all these kind of feature requests.. You can easily edit this in the theming.
Comment #4
wickwood commentedJust to add my 2¢...
It may be easy to edit the post date in the theme and I'm going to find out shortly because I'm in need of changing the format of the post dates for the site I'm working on. But just to let you know, I've spent hours now trying figure where to make this change.
What I don't understand is why it's not something that is configurable form the admin area?
Why should we be able to set up different time formats, indeed as many as we want, but we are not be able to use them for something as simple as the post date?
Having to go dig into the code of the theme for this seems a little silly to me?
Steve
Comment #5
adammaloneI made a patch for D8 where the user may change the date format per content type. I think this is the most relevant issue to attach this to.
It arose due to the desire on a D7 site to have some formats for some content types and others for others. Assumed there had to be an option in the admin interface but found there was none and had to override in preprocess.
I think the key thing to remember here is, although it may be easy for a developer to override any date/time format; a user who just wants a simple blog or ecommerce website doesn't really have the option to specify post date format (unless I'm missing something)
Comment #8
joelpittetThis likely could still be done in 8.1.x
Comment #9
Miguel.kode commentedThis is the re-roll for this patch. I changed:
- core/modules/node/content_types.js
- core/modules/node/node.module
I removed: core/modules/node/content_types.inc
Comment #11
madhavvyas commentedPatch re rolled
Comment #13
madhavvyas commentedUpdated patch
Comment #15
madhavvyas commentedBy mistake I re-rolled with 8.0.x It is corrected
Comment #16
madhavvyas commentedComment #33
smustgrave commentedThank you for sharing your idea for improving Drupal.
We are working to decide if this proposal meets the Criteria for evaluating proposed changes. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or there is no community support. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #34
smustgrave commentedwanted to bump this feature 1 more time.