Issue Bug Closed

#104890Empty groups should be hidden in site settings editor

Lina Wolf 09/11/24, 07:54 updated 10/15/24, 09:06

Description

If I define Categories that have no settings those should be hidden:

categories:
  BlogExample2:
    label: 'Blog Example 2: Noting here'
  BlogExample:
    label: 'Blog Example'
  BlogExample.empty:
    label: 'Empty: Nothing here'
    parent: BlogExample
  BlogExample.templates:
    label: 'Templates'
    parent: BlogExample
  BlogExample.pages:
    label: 'Pages'
    parent: BlogExample
  BlogExample.settings:
    label: 'Settings'
    parent: BlogExample

settings:
  blogExample.templateRootPath:
    label: 'Templates'
    category: BlogExample.templates
    description: 'Path to template root'
    type: string
    default: 'EXT:blog_example/Resources/Private/Templates/'
  blogExample.partialRootPath:
    label: 'Templates'
    category: BlogExample.templates
    description: 'Path to template root'
    type: string
    default: 'EXT:blog_example/Resources/Private/Partials/'
  blogExample.layoutRootPath:
    label: 'Templates'
    category: BlogExample.pages
    description: 'Path to template root'
    type: string
    default: 'EXT:blog_example/Resources/Private/Layouts/'
  blogExample.storagePid:
    label: 'Default storage PID'
    category: BlogExample.settings
    description: 'Folder that stores all blogs, blog-posts and comments'
    type: int
    default: 0
  blogExample.editorUsergroupUid:
    label: 'Frontend admin user group UID'
    category: BlogExample.settings
    description: 'Enter the uid of the front end user group that should be allowed to edit blogs and post in the frontend in the admin plugin. '
    type: int
    default: 0
  blogExample.postsPerPage:
    label: 'Posts per page'
    category: BlogExample.settings
    description: 'How many posts should be displayed per page of pagination?'
    type: int
    default: 3

clipboard-202409110950-ivyyc.png

Reviews 1