Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #### my fluid templates #####
- page.typeNum = 0
- page = PAGE
- page.10 = CASE
- page.10 {
- key.data = levelfield:-1,backend_layout_next_level,slide
- key.override.field = backend_layout
- #default = FLUIDTEMPLATE
- #default {
- 1 = FLUIDTEMPLATE
- 1 {
- format = html
- file = fileadmin/templates/index.html
- layoutRootPath = fileadmin/templates/layouts/
- partialRootPath = fileadmin/templates/partials/
- variables {
- #variables to be used with {}
- siteName = TEXT
- siteName.value = hhhhh.nl
- pageTitle = TEXT
- pageTitle.data = page:title
- #bepalen welke inhoud waar komt:
- content < styles.content.get
- #hoofdinhoud
- content_main < styles.content.get
- content_main.select.where = colPos = 0
- #colom 1
- content_column_1 < styles.content.get
- content_column_1.select.where = colPos = 1
- #colom 2
- content_column_2 < styles.content.get
- content_column_2.select.where = colPos = 2
- }
- }
- #extra template 1
- 2 = FLUIDTEMPLATE
- 2 {
- format = html
- file = fileadmin/templates/layouts/alternatieve_pagina.html
- layoutRootPath = fileadmin/templates/layouts/
- partialRootPath = fileadmin/templates/partials/
- variables {
- siteName = TEXT
- siteName.value = Menes.nl
- pageTitle = TEXT
- pageTitle.data = page:title
- content < styles.content.get
- content_main < styles.content.get
- content_main.select.where = colPos = 0
- content_column_1 < styles.content.get
- content_column_1.select.where = colPos = 1
- content_column_2 < styles.content.get
- content_column_2.select.where = colPos = 2
- }
- }
- #extra template 2
- 3 = FLUIDTEMPLATE
- 3 {
- format = html
- file = fileadmin/templates/layouts/small_header_page.html
- layoutRootPath = fileadmin/templates/layouts/
- partialRootPath = fileadmin/templates/partials/
- variables {
- siteName = TEXT
- siteName.value = Menes.nl
- content < styles.content.get
- content_main < styles.content.get
- content_main.select.where = colPos = 0
- content_column_1 < styles.content.get
- content_column_1.select.where = colPos = 1
- content_column_2 < styles.content.get
- content_column_2.select.where = colPos = 2
- }
- }
- }
- ###############################################################################
- ##for selecting a Backend layout with FE template:
- page.10.file.stdWrap.cObject = CASE
- page.10.file.stdWrap.cObject {
- key.data = levelfield:-1, backend_layout_next_level, pagelayout, slide
- key.override.field = pagelayout
- default = TEXT
- default.value = fileadmin/templates/index.html
- pagets__0 = TEXT
- pagets__0.value = fileadmin/templates/index.html
- pagets__1 = TEXT
- pagets__1.value = fileadmin/templates/layouts/small_header_page.html
- pagets__2 = TEXT
- pagets__2.value = fileadmin/templates/layouts/alternatieve_pagina.html
- }
- ################# #######################
- #####################################################################
- ###For file pageTSconfig.ts to be included in Typo3 PageTS
- ####<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/ts/page_backend_layouts/pageTSConfig.ts">
- # Layout Select box
- TCEFORM.pages {
- layout.altLabels.3 = 3 Alternatieve Pagina
- layout.altLabels.2 = 2 Small Header Pagina
- layout.altLabels.1 = 1 Layout (1)
- layout.altLabels.0 = 0 Standaard Pagina
- removeItems = 4,5,6,7,9,10
- }
- ### Backend Layouts #####
- mod.web_layout.BackendLayouts{
- 1 {
- title = Layout 1
- config {
- backend_layout {
- colCount = 2
- rowCount = 1
- rows {
- 1 {
- columns {
- 1 {
- name = linker_inoud
- colPos = 1
- }
- 2 {
- name = midden_inhoud
- colPos = 0
- }
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment