ds-site/Configuration/TypoScript/Setup/Page.typoscript
2019-11-15 00:27:23 +01:00

88 lines
2.6 KiB
Text

page = PAGE
page {
includeCSS {
index = EXT:ds_site/Resources/Public/Css/index.css
}
10 = FLUIDTEMPLATE
10 {
templateName {
cObject = TEXT
cObject {
data = pagelayout
required = 1
case = uppercamelcase
split {
token = pagets__
cObjNum = 1
1.current = 1
}
}
ifEmpty = Default
}
layoutRootPaths {
10 = EXT:ds_site/Resources/Private/Layouts/Page/
}
partialRootPaths {
10 = EXT:ds_site/Resources/Private/Partials/
20 = EXT:ds_site/Resources/Private/Partials/Page/
}
templateRootPaths {
10 = EXT:ds_site/Resources/Private/Templates/Page/
}
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
10 {
table = sys_category
pidInList = 2
where = sys_category_record_mm.uid_foreign = {page:uid} AND sys_category.parent = 1
where.insertData = 1
join = sys_category_record_mm ON sys_category_record_mm.uid_local = sys_category.uid
orderBy = sorting
as = tags
}
11 < .10
11 {
where = sys_category_record_mm.uid_foreign = {page:uid} AND sys_category.parent = 2
as = compatible
}
50 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
50 {
special = list
special.value.data = page:uid
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
10 {
table = tt_content
pidInList.field = uid
as = content
where = sectionIndex = 1 AND header_layout != 100
orderBy = sorting
}
}
as = pageSections
}
}
settings {
websiteTitle < sitetitle
}
variables {
introduction =< styles.content.get
introduction {
select {
where = {#colPos}=50
}
}
contentMain =< styles.content.get
footer =< styles.content.get
footer {
select {
where = {#colPos}=100
}
}
}
}
}