shel / neos-subtrees

通过标签过滤Neos CMS文档树以显示配置的子树

安装: 232

依赖项: 0

建议者: 0

安全性: 0

星标: 2

关注者: 3

分支: 1

开放问题: 1

语言:JavaScript

类型:neos-plugin

0.1.2 2023-11-03 09:58 UTC

This package is auto-updated.

Last update: 2024-09-03 11:47:47 UTC


README

此插件向Neos CMS中的文档树上方添加标签。每个标签可以显示主页树的不同子树。

⚠️ 此插件目前仅作为测试其可行性的预览,还不应在生产环境中使用。

安装

composer require shel/neos-subtrees

示例配置

Neos:
  Neos:
    Ui:
      frontendConfiguration:
        'Shel.Neos.SubTrees:TabbedPageTree':
          presets:
            default:
              title: Default
              tooltip: Default document tree
              icon: home
            # Example for a custom preset:
            blog:
              # The label shown in the tab
              title: Blog
              # The tooltip to show when the tab is hovered
              tooltip: Blog & blog articles
              # The icon for the tab
              icon: list-alt
              # The path to the root node of this subtree / tab
              rootNode: '/sites/mysite/blog'

开发 - 构建新版本

ui-plugin文件夹中运行以下命令以构建插件的新版本

yarn
yarn build

赞助商

此包的首次公开发布得到了RTP GmbH的慷慨赞助。

许可证

请参阅许可证