Skip to content

Instantly share code, notes, and snippets.

@mneuhaus
Created April 13, 2015 08:59
Show Gist options
  • Select an option

  • Save mneuhaus/4bd6067acdeff18464ff to your computer and use it in GitHub Desktop.

Select an option

Save mneuhaus/4bd6067acdeff18464ff to your computer and use it in GitHub Desktop.
typoscript
FluidTemplate = FLUIDTEMPLATE
FluidTemplate {
format = html
file = {$templatePath}Private/Templates/Page.html
partialRootPath = {$templatePath}Private/Partials/
layoutRootPath = {$templatePath}Private/Layouts/
# Send backend layout uid to the fluid template
variables{
layout = TEXT
layout.value = 1
layout.data = levelfield:-2,backend_layout_next_level,slide
layout.override.field = backend_layout
variant = TEXT
variant.value = 1
variant.data = levelfield:-2,layout,slide
variant.override.field = layout
}
}
page = PAGE
page {
typeNum = 0
config {
doctype = html5
metaCharset = utf-8
no_cache = 0
admPanel = 0
debug = 0
spamProtectEmailAddresses = 2
spamProtectEmailAddresses_atSubst = @
spamProtectEmailAddresses_lastDotSubst = .
}
# CSS
includeCSS.bootstrap = {$templatePath}Public/css/bootstrap.min.css
# includeCSS.inlineStylesHtml = {$templatePath}Public/css/inlineStylesHtml.css
# includeCSS.bootstraptheme = {$templatePath}Public/css/bootstrap-theme.min.css
includeCSS.main = {$templatePath}Public/css/main.css
includeCSS.awards = typo3conf/ext/famab_awards/Resources/Public/Styles/Main.css
# includeCSS.jqueryui = {$templatePath}Public/css/jquery-ui.min.css
includeCSS.fotorama = https://cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.3/fotorama.css
includeCSS.datepicker = typo3conf/ext/famab_awards/Resources/Public/Components/datepicker/css/datepicker.css
includeCSS.fontawesome = typo3conf/ext/famab_awards/Resources/Public/Components/font-awesome/css/font-awesome.min.css
# JS Header
# includeJS.modernizr = {$templatePath}Public/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js
includeJS.jquery = {$templatePath}Public/js/jquery-1.11.1.min.js
# JS Footer
includeJSFooter.jqueryui = {$templatePath}Public/js/jquery-ui.min.js
includeJSFooter.datepicker = typo3conf/ext/famab_awards/Resources/Public/Components/datepicker/js/bootstrap-datepicker.js
includeJSFooter.datepickerde = typo3conf/ext/famab_awards/Resources/Public/Components/datepicker/js/locales/bootstrap-datepicker.de.js
includeJSFooter.bootstrap = {$templatePath}Public/js/vendor/bootstrap.min.js
# includeJSFooter.main = {$templatePath}Public/js/main.js
includeJSFooter.accordion = {$templatePath}Public/js/accordion.js
includeJSFooter.form = {$templatePath}Public/js/form.js
includeJSFooter.search = {$templatePath}Public/js/search.js
includeJSFooter.fotorama = https://cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.3/fotorama.js
10 < FluidTemplate
# Favicon
headerData.999 = TEXT
headerData.999.value (
<link rel="shortcut icon" href="{$baseURL}{$templatePath}Public/img/famab_favicon_48.png" type="image/png" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,600,700' rel='stylesheet' type='text/css' />
)
# page.bodyTag >
bodyTagCObject = TEXT
bodyTagCObject.dataWrap = <body id="page-{field:uid}">
}
# Content Parsing standard content
lib.content < styles.content.get
# Content Parsing special content backend layouts
lib.contentRight < styles.content.get
lib.contentRight.select.where = colPos = 1
lib.contentLeftTop < styles.content.get
lib.contentLeftTop.select.where = colPos = 2
lib.contentMiddleTop < styles.content.get
lib.contentMiddleTop.select.where = colPos = 3
lib.contentRightTop < styles.content.get
lib.contentRightTop.select.where = colPos = 4
lib.contentLeftBottom < styles.content.get
lib.contentLeftBottom.select.where = colPos = 5
lib.contentMiddleBottom < styles.content.get
lib.contentMiddleBottom.select.where = colPos = 6
lib.contentRightBottom < styles.content.get
lib.contentRightBottom.select.where = colPos = 7
lib.contentSlider < styles.content.get
lib.contentSlider.select.where = colPos = 100
lib.searchUser =< plugin.tx_famabfeuser
lib.searchUser {
extensionName = FamabFeuser
pluginName = Search
controller = Fakten
action = search
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment