Fluid Templates
Fluid Templates: HTML-Vorlagen als Grundgerüst der Webseite
config.no_cache = 1
config.doctype = html5
page = PAGE
page.typeNum = 0
page.10 = FLUIDTEMPLATE
page.10 {
format = html
file = fileadmin/templates/templateMain.html
partialRootPath = fileadmin/templates/partials/
layoutRootPath = fileadmin/templates/layouts/
variables {
headerimage-main < temp.headerimage-main
content-main < temp.content-main
content-form < temp.content-form
aktuelles_datum < temp.aktuelles_datum
menu-mobile < temp.menu-mobile
menu-main < temp.menu-main
language < temp.language
footer < temp.content-footer
datenschutz < temp.datenschutz
datenschutz-button < temp.datenschutz-button
}
}
#Template Selector über BE-Layouts
page.10.file.stdWrap.cObject = CASE
page.10.file.stdWrap.cObject {
key.data = levelfield:-1, backend_layout_next_level, slide
key.override.field = backend_layout
default = TEXT
default.value = fileadmin/templates/templateMain.html
1 = TEXT
1.value = fileadmin/templates/templateIntro.html
2 = TEXT
2.value = fileadmin/templates/templateDetail.html
3 = TEXT
3.value = fileadmin/templates/templateMain.html
}
page.includeCSS {
file1 = fileadmin/css/base.css
}
page.includeJSFooter {
file1 = fileadmin/helloworld.js
file1.type = application/x-javascript
Include a second file, but only if myConstant is set
in the TS constants field.
file2 = javascript_uploaded_to_template*.js
file2.if.isTrue = {$myConstant}
jquery = https://code.jquery.com/jquery-3.4.1.min.js
jquery.external = 1
}