Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // SCB page setup
- @import "EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript"
- page = PAGE
- page {
- typeNum = 0
- // Favicon laden
- shortcutIcon = typo3conf/ext/site_package/Resources/Public/Icons/favicon.ico
- // CSS-style für Browserfenster zuweisen
- bodyTag = <body id="main_body">
- // Meta-Tags definieren
- meta {
- viewport = width=device-width, initial-scale=1, shrink-to-fit=no
- AUTHOR = Bernd Sitzmann
- DESCRIPTION = Homepage des Ski-Club-Breitenborn
- }
- // Part 1: Fluid template section
- 10 = FLUIDTEMPLATE
- 10 {
- // templateName = TEXT
- // templateName.stdWrap.cObject = CASE
- // templateName.stdWrap.cObject {
- // key.data = pagelayout
- file.stdWrap.cObject = CASE
- file.stdWrap.cObject {
- key.data = pagelayout
- pagets__1col = TEXT
- pagets__1col.value = EXT:site_package/Resources/Private/Templates/Page/1col.html
- pagets__2col = TEXT
- pagets__2col.value = EXT:site_package/Resources/Private/Templates/Page/2col.html
- pagets__3col = TEXT
- pagets__3col.value = EXT:site_package/Resources/Private/Templates/Page/3col.html
- pagets__1colslider = TEXT
- pagets__1colslider.value = EXT:site_package/Resources/Private/Templates/Page/1colslider.html
- pagets__2colslider = TEXT
- pagets__2colslider.value = EXT:site_package/Resources/Private/Templates/Page/2colslider.html
- pagets__gallery = TEXT
- pagets__gallery.value = EXT:site_package/Resources/Private/Templates/Page/gallery.html
- pagets__pressreview = TEXT
- pagets__pressreview.value = EXT:site_package/Resources/Private/Templates/Page/pressreview.html
- default < .pagets__1col
- }
- templateRootPaths {
- 0 = EXT:site_package/Resources/Private/Templates/Page/
- / 1 = {$page.fluidtemplate.templateRootPath}
- }
- partialRootPaths {
- 0 = EXT:site_package/Resources/Private/Partials/Page/
- / 1 = {$page.fluidtemplate.partialRootPath}
- }
- layoutRootPaths {
- 0 = EXT:site_package/Resources/Private/Layouts/Page/
- / 1 = {$page.fluidtemplate.layoutRootPath}
- }
- // DataProcessing
- dataProcessing {
- 10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
- 10 {
- as = mainMenu
- entryLevel = 1
- expandAll = 1
- titleField = nav_title // title
- levels = 4
- }
- 20 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
- 20 {
- as = metaMenu
- titleField = nav_title // title
- levels = 1
- special = directory
- special.value = {$sitepackage.metaId}
- }
- 30 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
- 30 {
- as = rootline
- titleField = nav_title // title
- special = rootline
- special.range = 2|-1
- }
- 40 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
- 40 {
- special=directory
- special.value=31
- levels = 1
- # includeSpacer = 1
- as = footernavigation
- }
- }
- variables {
- content0 < styles.content.get
- content1 < styles.content.get
- content1.select.where = colPos = 1
- content2 < styles.content.get
- content2.select.where = colPos = 2
- content3 < styles.content.get
- content3.select.where = colPos = 3
- content4 < styles.content.get
- content4.select.where = colPos = 4
- content5 < styles.content.get
- content5.select.where = colPos = 5
- }
- }
- // Part 2: CSS file inclusion
- includeCSS {
- bootstrap = https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css
- bootstrap.external = 1
- fancybox = EXT:site_package/Resources/Public/Css/jquery.fancybox.min.css
- smartmenus = EXT:site_package/Resources/Public/Css/jquery.smartmenus.bootstrap-4.css
- // main = EXT:site_package/Resources/Public/Css/main.css
- // colorscheme = EXT:site_package/Resources/Public/Css/colorscheme.css
- styles = EXT:site_package/Resources/Public/Css/scb-styles.css
- }
- // Part 3: JavaScript file inclusion
- includeJSFooter {
- jquery = https://code.jquery.com/jquery-3.5.1.slim.min.js
- jquery.external = 1
- bootstrap = https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js
- bootstrap.external = 1
- fancybox = EXT:site_package/Resources/Public/JavaScript/jquery.fancybox.min.js
- smartmenus = EXT:site_package/Resources/Public/JavaScript/jquery.smartmenus.min.js
- smartmenusBt = EXT:site_package/Resources/Public/JavaScript/jquery.smartmenus.bootstrap-4.min.js
- scb = EXT:site_package/Resources/Public/JavaScript/scb.js
- }
- }
- // Part 4: global site configuration in 0000_config.typoscript
- // CKEditor KOnfiguration übernehmen
- lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.tags.table.fixAttrib.class.list >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement