Skip to content

VIVOMEDIA/neos-structural-change-reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Neos CMS - Structural Change Reload

Latest Stable Version Total Downloads License

In some cases you need to reload the whole collection or page when the structure of nodes within a collection has changed. Common examples are sliders, grids or galleries.

This package allows defining collections, which will get re-rendered if a direct child gets moved, inserted or removed.

Please note: This package is only working for "flat collections", which means NodeTypes, which are actually the collection and don't have tethered child collections.

Install

Install with composer

composer require vivomedia/neos-structural-change-reload 

Configuration

Reload the collection if the structure has changed.

Vendor.Site:Content.ExampleCollection:
  superTypes:
    'Neos.Neos:Content': true
    'Neos.Neos:ContentCollection': true
  options:
    reloadIfStructureHasChanged: true

Reload the page if the structure has changed.

Vendor.Site:Content.ExampleCollection:
  superTypes:
    'Neos.Neos:Content': true
    'Neos.Neos:ContentCollection': true
  options:
    reloadPageIfStructureHasChanged: true

Inspired by SiteGeist.StageFog

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages