定制 vivomedia/neos-structural-change-reload 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vivomedia/neos-structural-change-reload

最新稳定版本:2.0.0

Composer 安装命令:

composer require vivomedia/neos-structural-change-reload

包简介

Reload document on structural change

README 文档

README

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

统计信息

  • 总下载量: 6.18k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-06-07