2019-11-13 23:40:26 +01:00
|
|
|
page = PAGE
|
|
|
|
page {
|
|
|
|
includeCSS {
|
2024-02-08 22:04:36 +01:00
|
|
|
normalize = EXT:ds_site/Resources/Public/Css/normalize.css
|
|
|
|
|
|
|
|
variables = EXT:ds_site/Resources/Public/Css/variables.css
|
|
|
|
|
|
|
|
elements = EXT:ds_site/Resources/Public/Css/elements.css
|
|
|
|
layout = EXT:ds_site/Resources/Public/Css/layout.css
|
|
|
|
admonition = EXT:ds_site/Resources/Public/Css/admonition.css
|
|
|
|
typo3 = EXT:ds_site/Resources/Public/Css/typo3.css
|
|
|
|
# condition, only when necessary
|
|
|
|
|
|
|
|
code-highlighting = EXT:ds_site/Resources/Public/Css/code-highlighting.css
|
2019-11-13 23:40:26 +01:00
|
|
|
}
|
|
|
|
|
2019-11-15 18:28:10 +01:00
|
|
|
meta {
|
|
|
|
viewport = width=device-width, initial-scale=1
|
|
|
|
}
|
|
|
|
|
2020-01-08 21:03:54 +01:00
|
|
|
bodyTagCObject = COA
|
|
|
|
bodyTagCObject {
|
2020-01-27 13:27:21 +01:00
|
|
|
10 = CASE
|
2020-01-08 21:03:54 +01:00
|
|
|
10 {
|
2020-01-27 13:27:21 +01:00
|
|
|
key.stdWrap.cObject =< page.10.templateName.cObject
|
|
|
|
default = TEXT
|
|
|
|
default.value = BlogSidebar
|
|
|
|
Full = TEXT
|
|
|
|
Full.value = Content
|
|
|
|
BlogPost = TEXT
|
|
|
|
BlogPost.value = Content
|
2020-01-08 21:03:54 +01:00
|
|
|
}
|
2020-01-27 13:27:21 +01:00
|
|
|
stdWrap.noTrimWrap = |<body class="Layout|">|
|
2020-01-08 21:03:54 +01:00
|
|
|
}
|
2020-01-08 20:05:36 +01:00
|
|
|
|
2020-02-07 11:22:33 +01:00
|
|
|
5 = EDITPANEL
|
|
|
|
5 {
|
|
|
|
newRecordFromTable = tt_content
|
|
|
|
}
|
|
|
|
|
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 {
|
2019-12-13 13:27:25 +01:00
|
|
|
as = assignedTopics
|
2019-11-15 00:27:23 +01:00
|
|
|
table = sys_category
|
|
|
|
pidInList = 2
|
2023-07-13 10:53:30 +02:00
|
|
|
selectFields = sys_category.*
|
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
|
2023-07-13 10:53:30 +02:00
|
|
|
orderBy = sys_category.title ASC
|
2022-11-08 08:05:17 +01:00
|
|
|
|
|
|
|
# Workaround broken workspace manipulation
|
|
|
|
if {
|
|
|
|
isLessThan.data = context:workspace:id
|
|
|
|
value = 1
|
|
|
|
}
|
2019-11-15 00:27:23 +01:00
|
|
|
}
|
|
|
|
11 < .10
|
|
|
|
11 {
|
2019-12-13 13:27:25 +01:00
|
|
|
as = compatibleWith
|
2019-11-15 13:17:22 +01:00
|
|
|
where = sys_category_record_mm.uid_foreign = {page:uid} AND sys_category.parent = 2
|
|
|
|
orderBy = sorting
|
2019-11-15 00:27:23 +01:00
|
|
|
}
|
2021-12-01 16:52:19 +01:00
|
|
|
12 = DanielSiepmann\DsSite\Frontend\DataProcessing\NaturalSortingProcessor
|
|
|
|
12 {
|
|
|
|
variablePath = compatibleWith
|
|
|
|
variableSubPath = data/title
|
|
|
|
}
|
2019-11-15 13:17:22 +01:00
|
|
|
|
2020-08-20 11:50:35 +02:00
|
|
|
50 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
|
2019-11-15 00:27:23 +01:00
|
|
|
50 {
|
2020-08-20 11:50:35 +02:00
|
|
|
table = tt_content
|
|
|
|
as = pageContent
|
|
|
|
where = sectionIndex = 1 AND header_layout != 100 and colPos != 50
|
|
|
|
orderBy = colPos, sorting
|
2019-11-15 00:27:23 +01:00
|
|
|
}
|
2019-11-15 13:17:22 +01:00
|
|
|
|
2020-09-25 01:09:36 +02:00
|
|
|
100 = DanielSiepmann\DsSite\Frontend\DataProcessing\CategoriesCounts
|
2019-11-15 13:17:22 +01:00
|
|
|
100 {
|
2019-12-13 13:27:25 +01:00
|
|
|
as = allTopics
|
2021-05-06 15:19:28 +02:00
|
|
|
orderBy = count desc, title asc
|
2020-09-25 01:09:36 +02:00
|
|
|
parent = 1
|
2019-11-15 13:17:22 +01:00
|
|
|
}
|
|
|
|
101 < .100
|
|
|
|
101 {
|
2019-12-13 13:27:25 +01:00
|
|
|
as = allTypo3Compatible
|
2020-09-25 01:09:36 +02:00
|
|
|
parent = 2
|
2019-12-13 13:27:25 +01:00
|
|
|
}
|
2021-12-01 16:52:19 +01:00
|
|
|
102 = DanielSiepmann\DsSite\Frontend\DataProcessing\NaturalSortingProcessor
|
|
|
|
102 {
|
|
|
|
variablePath = allTypo3Compatible
|
|
|
|
variableSubPath = data/title
|
|
|
|
}
|
2019-12-13 13:27:25 +01:00
|
|
|
|
|
|
|
500 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
|
|
|
|
500 {
|
|
|
|
as = media
|
|
|
|
references.fieldName = media
|
2019-11-15 13:17:22 +01:00
|
|
|
}
|
2019-11-28 13:18:30 +01:00
|
|
|
|
2020-02-07 14:04:30 +01:00
|
|
|
800 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
|
|
|
|
800 {
|
|
|
|
as = rootline
|
|
|
|
special = rootline
|
|
|
|
# First two level are root page and folders for structure
|
|
|
|
special.range = 2|-2
|
|
|
|
|
|
|
|
if {
|
|
|
|
value = 2
|
|
|
|
isGreaterThan.data = level
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-28 13:18:30 +01:00
|
|
|
1000 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
|
|
|
|
1000 {
|
2022-01-05 10:17:11 +01:00
|
|
|
as = mainMenu
|
2019-11-28 13:18:30 +01:00
|
|
|
special = list
|
|
|
|
special.value = 3
|
|
|
|
levels = 2
|
2020-04-07 12:17:53 +02:00
|
|
|
excludeDoktypes = 255
|
2019-11-28 13:18:30 +01:00
|
|
|
}
|
2019-11-15 00:27:23 +01:00
|
|
|
}
|
|
|
|
|
2019-11-13 23:40:26 +01:00
|
|
|
variables {
|
2021-05-06 15:14:52 +02:00
|
|
|
websiteTitle = TEXT
|
|
|
|
websiteTitle.data = site:websiteTitle
|
|
|
|
websiteSubTitle = TEXT
|
|
|
|
websiteSubTitle.value = Coding is Art
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|