172 lines
4.5 KiB
Plaintext
172 lines
4.5 KiB
Plaintext
# ###
|
|
# LIB
|
|
# ###
|
|
|
|
@import 'EXT:sitepackage/Configuration/TypoScript/Libs/Libs.typoscript'
|
|
|
|
|
|
##############
|
|
#### PAGE ####
|
|
##############
|
|
page = PAGE
|
|
page {
|
|
typeNum = 0
|
|
|
|
# set new body tag
|
|
bodyTag >
|
|
bodyTagCObject =< lib.bodyTag
|
|
|
|
|
|
includeCSS {
|
|
theme = EXT:sitepackage/Resources/Public/StyleSheets/styles.css
|
|
}
|
|
|
|
includeJSLibs {
|
|
|
|
}
|
|
|
|
includeJS {
|
|
|
|
}
|
|
|
|
includeJSFooterlibs {
|
|
|
|
}
|
|
|
|
includeJSFooter {
|
|
sitepackage_scripts = EXT:sitepackage/Resources/Public/JavaScript/default.js
|
|
}
|
|
|
|
config {
|
|
# better page title, noPageTitle is not a good idea since most extensions add own title
|
|
pageTitle {
|
|
noTrimWrap = || {$sitepackage.website.titleDelim} {$sitepackage.website.title}|
|
|
|
|
override.cObject = TEXT
|
|
override.cObject {
|
|
# override with seo_title
|
|
field = seo_title
|
|
# only insert if alternative title exist
|
|
if.isTrue.field = seo_title
|
|
}
|
|
}
|
|
|
|
# display admin panel
|
|
admPanel = 1
|
|
}
|
|
|
|
|
|
10 = FLUIDTEMPLATE
|
|
10 {
|
|
# template names will be generated automatically by converting the applied
|
|
# backend_layout, there is no explicit mapping necessary anymore.
|
|
#
|
|
# example:
|
|
# subnavigation_right_2_columns -> SubnavigationRight2Columns.html
|
|
templateName = TEXT
|
|
templateName {
|
|
cObject = TEXT
|
|
cObject {
|
|
data = pagelayout
|
|
required = 1
|
|
case = uppercamelcase
|
|
split {
|
|
token = pagets__
|
|
cObjNum = 1
|
|
1.current = 1
|
|
}
|
|
}
|
|
|
|
ifEmpty = Default
|
|
}
|
|
|
|
layoutRootPaths {
|
|
10 = EXT:sitepackage/Resources/Private/Layouts/Page/
|
|
}
|
|
|
|
templateRootPaths {
|
|
10 = EXT:sitepackage/Resources/Private/Templates/Page/
|
|
}
|
|
|
|
partialRootPaths {
|
|
10 = EXT:sitepackage/Resources/Private/Partials/Page/
|
|
}
|
|
|
|
|
|
# can be accessed directly within the layouts/ templates/ partials via {settings.myVariable}
|
|
settings {
|
|
|
|
}
|
|
|
|
variables {
|
|
rootPage = TEXT
|
|
rootPage.data = leveluid:0
|
|
|
|
content < styles.content.get
|
|
|
|
main-content< styles.content.get
|
|
main-content.select.where = colPos=0
|
|
|
|
marginal-content < styles.content.get
|
|
marginal-content.select.where = colPos=1
|
|
|
|
footer-content < styles.content.get
|
|
footer-content.select.where = colPos=200
|
|
footer-content.slide = -1
|
|
|
|
# breadcrumbSingleRecordEntry is used to extend the breadcrumb path
|
|
# it allows us to display the title of a single record (like tx_news detail page)
|
|
breadcrumbSingleRecordEntry = COA
|
|
breadcrumbSingleRecordEntry {
|
|
}
|
|
}
|
|
|
|
# data processors for navigation
|
|
dataProcessing {
|
|
# main navigation
|
|
10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
|
|
10 {
|
|
# right now, 3 levels are supported
|
|
levels = {$sitepackage.navigation.main.levels}
|
|
as = navigationMain
|
|
expandAll = 1
|
|
}
|
|
|
|
# breadcrumb
|
|
20 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
|
|
20 {
|
|
special = rootline
|
|
special.range = 0|-1
|
|
includeNotInMenu = 1
|
|
as = breadcrumb
|
|
|
|
if {
|
|
isInList.data = page:uid
|
|
value = {$sitepackage.navigation.breadcrumb.hideOnPages}
|
|
negate = 1
|
|
}
|
|
}
|
|
|
|
# meta navigation
|
|
30 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
|
|
30 {
|
|
special = {$sitepackage.navigation.meta.type}
|
|
special.value = {$sitepackage.navigation.meta.uidList}
|
|
includeNotInMenu = {$sitepackage.navigation.meta.includeNotInMenu}
|
|
as = navigationMeta
|
|
if {
|
|
isTrue = {$sitepackage.navigation.meta.uidList}
|
|
}
|
|
}
|
|
|
|
# language navigation
|
|
40 = TYPO3\CMS\Frontend\DataProcessing\LanguageMenuProcessor
|
|
40 {
|
|
languages = {$sitepackage.navigation.language.languages}
|
|
as = navigationLanguage
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|