Initial Commit

This commit is contained in:
khaccount committed 2026-05-18 14:46:25 +02:00
1 parent 4f495177e4
commit b6d2142214
166 files changed
+13952 -178

No files matched your search

@@ -0,0 +1,11 @@
name: evomedien/vitecset
label: VITEC Set
settings:
website:
background:
color: '#386492'
dependencies:
- typo3/fluid-styled-content
- friendsoftypo3/headless
- itplusx/headless-container
- nb-headless-content-blocks/headless-content-blocks
Whitespace-only changes.
@@ -0,0 +1,2 @@
# Use the custom VITEC CKEditor preset for all RTE fields
RTE.default.preset = vitec
@@ -0,0 +1,44 @@
categories:
VITEC:
label: 'VITEC Settings'
description: 'Settings for VITEC Stuff'
seo:
label: 'SEO Settings'
description: 'SEO related settings'
menu:
label: 'Menu / Navigation'
description: 'Footer & meta menu page selection'
settings:
my.vitec.setting:
label: 'My example setting'
category: VITEC
type: string
default: ''
my.seoRelevantSetting:
label: 'My SEO relevant setting'
category: seo
type: int
default: 5
vitec.debugMode:
label: 'Enable Debug Mode'
description: 'Enable debug mode for VITEC extensions'
category: VITEC
type: bool
default: false
menu.footer.pageUids:
label: 'Footer menu — page UIDs'
description: 'Comma-separated list of page UIDs to display in the footer menu (in order).'
category: menu
type: string
default: ''
menu.meta.pageUids:
label: 'Meta menu — page UIDs'
description: 'Comma-separated list of page UIDs to display in the meta menu (e.g. Imprint, Privacy).'
category: menu
type: string
default: ''
@@ -0,0 +1,44 @@
config {
pageTitleProviders {
vitec {
provider = Evomedien\Vitec\PageTitle\ProductPageTitleProvider
before = record
before = seo
}
}
}
# Headless: Add products field to vitec_productlist
tt_content.list.20.vitec_productlist = USER
tt_content.list.20.vitec_productlist {
userFunc = Evomedien\Vitec\UserFunc\ProductListJsonRenderer->render
}
# Override the JSON structure for vitec_productlist
tt_content.list.fields.content.fields.products = USER
tt_content.list.fields.content.fields.products {
userFunc = Evomedien\Vitec\UserFunc\ProductListJsonRenderer->render
}
# Headless: Add product field to vitec_productshow
tt_content.list.20.vitec_productshow = USER
tt_content.list.20.vitec_productshow {
userFunc = Evomedien\Vitec\UserFunc\ProductShowJsonRenderer->render
}
# Override the JSON structure for vitec_productshow
tt_content.list.fields.content.fields.product = USER
tt_content.list.fields.content.fields.product {
userFunc = Evomedien\Vitec\UserFunc\ProductShowJsonRenderer->render
}
# Include container (layout) rendering definitions
@import 'EXT:vitec/Configuration/TypoScript/Headless/vitec_containers.typoscript'
# Ensure headless's content element JSON definitions take precedence over
# fluid_styled_content's HTML definitions. This is loaded at the end of the
# Vitecset to guarantee winning load order.
@import 'EXT:headless/Configuration/TypoScript/ContentElement/*.typoscript'
# Include menu (navigation) JSON definitions
@import 'EXT:vitec/Configuration/TypoScript/Headless/vitec_menus.typoscript'