ds-site/Configuration/TypoScript/Setup/Page.typoscript

115 lines
3.5 KiB
Text
Raw Normal View History

2019-11-13 23:40:26 +01:00
page = PAGE
page {
includeCSS {
index = EXT:ds_site/Resources/Public/Css/index.css
}
meta {
viewport = width=device-width, initial-scale=1
}
2019-11-13 23:40:26 +01:00
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/
}
2019-11-15 00:27:23 +01:00
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
10 {
table = sys_category
pidInList = 2
2019-11-15 13:17:22 +01:00
where = sys_category_record_mm.uid_foreign = {page:uid} AND sys_category.parent = 1
2019-11-15 00:27:23 +01:00
where.insertData = 1
2019-11-15 13:17:22 +01:00
leftjoin = sys_category_record_mm ON sys_category_record_mm.uid_local = sys_category.uid
orderBy = count DESC, sys_category.title ASC
as = assignedTopics
2019-11-15 00:27:23 +01:00
}
11 < .10
11 {
2019-11-15 13:17:22 +01:00
where = sys_category_record_mm.uid_foreign = {page:uid} AND sys_category.parent = 2
orderBy = sorting
as = compatibleWith
2019-11-15 00:27:23 +01:00
}
2019-11-15 13:17:22 +01:00
2019-11-15 00:27:23 +01:00
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
}
2019-11-15 13:17:22 +01:00
100 < .10
100 {
selectFields = sys_category.*, count(sys_category_record_mm.uid_foreign) as count
where = sys_category.parent = 1 AND sys_category_record_mm.uid_foreign IS NOT NULL
groupBy = sys_category.uid
as = allTopics
2019-11-15 13:17:22 +01:00
}
101 < .100
101 {
where = sys_category.parent = 2 AND sys_category_record_mm.uid_foreign IS NOT NULL
orderBy = sorting
as = allTypo3Compatible
}
2019-11-15 00:27:23 +01:00
}
settings {
websiteTitle < sitetitle
}
2019-11-13 23:40:26 +01:00
variables {
2019-11-15 00:27:23 +01:00
introduction =< styles.content.get
2019-11-13 23:40:26 +01:00
introduction {
select {
where = {#colPos}=50
}
}
contentMain =< styles.content.get
2019-11-15 13:17:22 +01:00
acknowledgements =< styles.content.get
acknowledgements {
2019-11-13 23:40:26 +01:00
select {
where = {#colPos}=100
}
}
2019-11-15 13:17:22 +01:00
furtherReading =< styles.content.get
furtherReading {
select {
where = {#colPos}=200
}
}
2019-11-13 23:40:26 +01:00
}
}
}