Skip to content

Commit

Permalink
[TASK] Move templatepaths and category definitions into subsets
Browse files Browse the repository at this point in the history
Allows other sets to depend on their availability
  • Loading branch information
bnf committed Oct 18, 2024
1 parent 02b2623 commit d31de15
Show file tree
Hide file tree
Showing 14 changed files with 153 additions and 74 deletions.
6 changes: 6 additions & 0 deletions Configuration/Sets/Base/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: bootstrap-package/base
label: 'Bootstrap Package: Base'
hidden: true
dependencies:
- bootstrap-package/categories
- bootstrap-package/template-paths
3 changes: 3 additions & 0 deletions Configuration/Sets/Categories/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name: bootstrap-package/categories
label: 'Bootstrap Package: Categories'
hidden: true
70 changes: 70 additions & 0 deletions Configuration/Sets/Categories/settings.definitions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
categories:
BootstrapPackage:
label: 'Bootstrap Package'
BootstrapPackage.logo:
label: 'Logo'
parent: BootstrapPackage
BootstrapPackage.favicon:
label: 'Favicon'
parent: BootstrapPackage
BootstrapPackage.templates:
label: 'Templates'
parent: BootstrapPackage
BootstrapPackage.templates.page:
label: 'Pages'
parent: BootstrapPackage.templates
BootstrapPackage.templates.block:
label: 'Block'
parent: BootstrapPackage.templates
BootstrapPackage.templates.plugin:
label: 'Plugin'
parent: BootstrapPackage.templates
BootstrapPackage.navigation:
label: 'Navigation'
parent: BootstrapPackage
BootstrapPackage.navigation.main:
label: 'Main'
parent: BootstrapPackage.navigation
BootstrapPackage.navigation.dropdown:
label: 'Dropdown'
parent: BootstrapPackage.navigation
BootstrapPackage.navigation.sub:
label: 'Subnavigation'
parent: BootstrapPackage.navigation
BootstrapPackage.navigation.breadcrumb:
label: 'Breadcrumb'
parent: BootstrapPackage.navigation
BootstrapPackage.navigation.meta:
label: 'Meta'
parent: BootstrapPackage.navigation
BootstrapPackage.navigation.footer:
label: 'Footer'
parent: BootstrapPackage.navigation
BootstrapPackage.navigation.language:
label: 'Language'
parent: BootstrapPackage.navigation
BootstrapPackage.contact:
label: 'Contact'
parent: BootstrapPackage
BootstrapPackage.contact.data:
label: 'Data'
parent: BootstrapPackage.contact
BootstrapPackage.contact.button:
label: 'Button'
parent: BootstrapPackage.contact
BootstrapPackage.copyright:
label: 'Copyright'
parent: BootstrapPackage
BootstrapPackage.socialmedia:
label: 'Social Media'
parent: BootstrapPackage
BootstrapPackage.meta:
label: 'Meta'
parent: BootstrapPackage
BootstrapPackage.config:
label: 'Config'
parent: BootstrapPackage
BootstrapPackage.settings:
label: 'Settings'
parent: BootstrapPackage

2 changes: 2 additions & 0 deletions Configuration/Sets/ExtContainer/config.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
name: bootstrap-package/ext-container
label: 'Bootstrap Package: EXT:container integration'
dependencies:
- bootstrap-package/base
2 changes: 2 additions & 0 deletions Configuration/Sets/ExtForm/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: bootstrap-package/ext-form
label: 'Bootstrap Package: EXT:form integration'
dependencies:
- bootstrap-package/base
optionalDependencies:
- typo3/form
2 changes: 2 additions & 0 deletions Configuration/Sets/ExtIndexedSearch/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: bootstrap-package/ext-indexed-search
label: 'Bootstrap Package: EXT:indexed_search integration'
dependencies:
- bootstrap-package/base
optionalDependencies:
- typo3/indexed-search
1 change: 1 addition & 0 deletions Configuration/Sets/ExtSeo/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: bootstrap-package/ext-seo
label: 'Bootstrap Package: EXT:seo integration'
dependencies:
- bootstrap-package/base
- typo3/seo-sitemap
70 changes: 0 additions & 70 deletions Configuration/Sets/Full/settings.definitions.yaml
Original file line number Diff line number Diff line change
@@ -1,73 +1,3 @@
categories:
BootstrapPackage:
label: 'Bootstrap Package'
BootstrapPackage.logo:
label: 'Logo'
parent: BootstrapPackage
BootstrapPackage.favicon:
label: 'Favicon'
parent: BootstrapPackage
BootstrapPackage.templates:
label: 'Templates'
parent: BootstrapPackage
BootstrapPackage.templates.page:
label: 'Pages'
parent: BootstrapPackage.templates
BootstrapPackage.templates.block:
label: 'Block'
parent: BootstrapPackage.templates
BootstrapPackage.templates.plugin:
label: 'Plugin'
parent: BootstrapPackage.templates
BootstrapPackage.navigation:
label: 'Navigation'
parent: BootstrapPackage
BootstrapPackage.navigation.main:
label: 'Main'
parent: BootstrapPackage.navigation
BootstrapPackage.navigation.dropdown:
label: 'Dropdown'
parent: BootstrapPackage.navigation
BootstrapPackage.navigation.sub:
label: 'Subnavigation'
parent: BootstrapPackage.navigation
BootstrapPackage.navigation.breadcrumb:
label: 'Breadcrumb'
parent: BootstrapPackage.navigation
BootstrapPackage.navigation.meta:
label: 'Meta'
parent: BootstrapPackage.navigation
BootstrapPackage.navigation.footer:
label: 'Footer'
parent: BootstrapPackage.navigation
BootstrapPackage.navigation.language:
label: 'Language'
parent: BootstrapPackage.navigation
BootstrapPackage.contact:
label: 'Contact'
parent: BootstrapPackage
BootstrapPackage.contact.data:
label: 'Data'
parent: BootstrapPackage.contact
BootstrapPackage.contact.button:
label: 'Button'
parent: BootstrapPackage.contact
BootstrapPackage.copyright:
label: 'Copyright'
parent: BootstrapPackage
BootstrapPackage.socialmedia:
label: 'Social Media'
parent: BootstrapPackage
BootstrapPackage.meta:
label: 'Meta'
parent: BootstrapPackage
BootstrapPackage.config:
label: 'Config'
parent: BootstrapPackage
BootstrapPackage.settings:
label: 'Settings'
parent: BootstrapPackage

settings:

# Logo
Expand Down
2 changes: 2 additions & 0 deletions Configuration/Sets/GoogleFont/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: bootstrap-package/google-font
label: 'Bootstrap Package: Google Font'
hidden: true
dependencies:
- bootstrap-package/base
2 changes: 0 additions & 2 deletions Configuration/Sets/GoogleFont/settings.definitions.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
categories:
BootstrapPackage:
label: 'Bootstrap Package'
BootstrapPackage.google-font:
label: 'Google Font'
parent: BootstrapPackage
Expand Down
2 changes: 2 additions & 0 deletions Configuration/Sets/GoogleTagManager/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: bootstrap-package/google-tag-manager
label: 'Bootstrap Package: Google Tag Manager'
hidden: true
dependencies:
- bootstrap-package/base
2 changes: 0 additions & 2 deletions Configuration/Sets/GoogleTagManager/settings.definitions.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
categories:
BootstrapPackage:
label: 'Bootstrap Package'
BootstrapPackage.google-tag-manager:
label: 'Google Tag Manager'
parent: BootstrapPackage
Expand Down
5 changes: 5 additions & 0 deletions Configuration/Sets/TemplatePaths/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: bootstrap-package/template-paths
label: 'Bootstrap Package: Template Paths'
hidden: true
dependencies:
- bootstrap-package/categories
58 changes: 58 additions & 0 deletions Configuration/Sets/TemplatePaths/settings.definitions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
settings:

# Template Page
page.fluidtemplate.layoutRootPath:
label: 'Layout Root Path'
category: BootstrapPackage.templates.page
type: string
default: 'EXT:bootstrap_package/Resources/Private/Layouts/Page/'

page.fluidtemplate.partialRootPath:
label: 'Partial Root Path'
category: BootstrapPackage.templates.page
type: string
default: 'EXT:bootstrap_package/Resources/Private/Partials/Page/'

page.fluidtemplate.templateRootPath:
label: 'Template Root Path'
category: BootstrapPackage.templates.page
type: string
default: 'EXT:bootstrap_package/Resources/Private/Templates/Page/'

# Template Block
plugin.bootstrap_package_blocks.view.layoutRootPath:
label: 'Layout Root Path'
category: BootstrapPackage.templates.block
type: string
default: 'EXT:bootstrap_package/Resources/Private/Layouts/Blocks/'

plugin.bootstrap_package_blocks.view.partialRootPath:
label: 'Partial Root Path'
category: BootstrapPackage.templates.block
type: string
default: 'EXT:bootstrap_package/Resources/Private/Partials/Blocks/'

plugin.bootstrap_package_blocks.view.templateRootPath:
label: 'Template Root Path'
category: BootstrapPackage.templates.block
type: string
default: 'EXT:bootstrap_package/Resources/Private/Templates/Blocks/'

# Template Plugin
plugin.bootstrap_package.view.layoutRootPath:
label: 'Layout Root Path'
category: BootstrapPackage.templates.plugin
type: string
default: 'EXT:bootstrap_package/Resources/Private/Layouts/'

plugin.bootstrap_package.view.partialRootPath:
label: 'Partial Root Path'
category: BootstrapPackage.templates.plugin
type: string
default: 'EXT:bootstrap_package/Resources/Private/Partials/'

plugin.bootstrap_package.view.templateRootPath:
label: 'Template Root Path'
category: BootstrapPackage.templates.plugin
type: string
default: 'EXT:bootstrap_package/Resources/Private/Templates/'

0 comments on commit d31de15

Please sign in to comment.