cms icon indicating copy to clipboard operation
cms copied to clipboard

[5.x]: Field postDate and expiryDate can't be made visible for entries

Open Megafry opened this issue 2 years ago • 1 comments

What happened?

Description

Not sure if this is supposed to be a bug or a feature request.

In CraftCMS 5 entry types are stored in the entries table. Therefore they also have the fields postDate and expiryDate.

By manually setting an old date to an entry via the database it disappears from the frontend output. Therefore the logic is already implemented.

But there is no way to make the fields visible in the backend expect by creating a section for it. Also by opening the entry with the edit view, the fields are not shown. image

Solutions

the fields should be visible globally or optionally at an entry level with a toggle. This could be also added to the dropdown menu for matrix table ex: image

Benefit

Entries can in addition of being disabled, also be scheduled or hidden in the future identical to sections.

Craft CMS version

5

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Megafry avatar Nov 21 '23 12:11 Megafry

We have a relevant issue. We want to be able to disable specific matrix blocks for a specific language if our matrix blocks are displayed as inline editable without having to navigate to that specific matrix blocks entry if that makes any sense.

For example if I want to disable (Uitschakelen in dutch) this matrix block it is disabled for every language. Screenshot 2024-05-28 at 11 09 02

To be able to disable that matrix block entry for a specific language I am required to go to that specific matrix blocks entry and disable it there. Which is quite annoying.

Screenshot 2024-05-28 at 11 11 54

Antimated avatar May 28 '24 09:05 Antimated