muensmedia / timeable
Muensmedia.Timeable is a package which enhances the usability of the official Neos.TimeableNodeVisibility package.
Package info
github.com/muensmedia/Muensmedia.Timeable
Type:neos-plugin
pkg:composer/muensmedia/timeable
Requires
README
Muensmedia.Timeable enhances the usability of the official
Neos.TimeableNodeVisibility package
by automatically disabling nodes in the Neos backend as soon as enableAfterDateTime is
set to a date in the future.
| no date is set | a date is set |
|---|---|
| visibility can be changed manually | visibility is set automatically by date |
This does not completely remove the possibility to manually disable nodes via the PageTree or ContentTree.
Installation
composer require muensmedia/timeable
This will also install Neos.TimeableNodeVisibility as a dependency.
Why does this exist?
As noted in neos-development-collection#4817, Neos intentionally does not implicitly hide nodes when timed visibility is configured:
No implicit hiding of nodes anymore. The configured hidden state is always respected by Neos. Just the background job changes the hidden state.
As an editor, however, you expect a node to be immediately invisible once enableAfterDateTime
is set to a date in the future. This package fulfils that expectation by dispatching a
DisableNodeAggregate command on save. So the node is disabled right away, and re-enabled
automatically by the Neos.TimeableNodeVisibility background job when the time comes.