internezzo/childreload

Last activity on 7 July 2019
  • 10
  • 5762
composer require internezzo/childreload

Neos CMS package that helps to reload the page on change of any of the child nodes of the specific nodetype

1.0.2

Neos CMS package that helps to reload the page on change of any of the child nodes of the specific nodetype

Version
1.0.2
Type
neos-package
Release Date
26.07.2019 09:47:31
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
GPL-3.0-or-later cdc6bd7cc768aa3d7a3d04a371fe34d7118ffc8a

Internezzo.ChildReload

Sometimes the rendering of your base node depends on the number of child nodes underneath it. So when adding or removing children, you would want your whole page to reload. This package helps you to accomplish just that.

Usage

  1. composer require internezzo/childreload
  2. Modify your base nodetype like this:
'YourVendor:YourBaseNodeType':
  options:
    reloadIfChildChanged: true

Voila! When any of the child nodes were added or removed, the page would reload.

The package only works with the modern Neos UI starting with Neos 3.3

Development

Go to Resources/Private/JavaScript/ChildReload and run yarn watch or yarn build to recompile the JS assets.

The content of the readme is provided by Github
The same vendor provides 2 package(s).