Skip to content

muensmedia/Muensmedia.Timeable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MÜNSMEDIA Timeable

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
image image

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.

About

Allows to automatically disable nodes in the Neos backend as soon as enableAfterDateTime is set to a date in the future.

Topics

Resources

License

Stars

4 stars

Watchers

0 watching

Forks

Contributors

Languages