Project

General

Profile

Bug #104890

Updated by Mathias Brodala 2 months ago

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

 <pre> 
 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 
 </pre> 

 !clipboard-202409110950-ivyyc.png!

Back