Skip to content

Instantly share code, notes, and snippets.

View zechendorf's full-sized avatar

Christopher Zechendorf zechendorf

  • Lüneburg, Germany
View GitHub Profile

Keybase proof

I hereby claim:

  • I am zechendorf on github.
  • I am zechendorf (https://keybase.io/zechendorf) on keybase.
  • I have a public key whose fingerprint is 5FBC 9325 965C 6B00 811D A18E 92ED D6B0 F688 052D

To claim this, I am signing this object:

<INCLUDE_TYPOSCRIPT: source="FILE:EXT:fluid_styled_content/Configuration/TypoScript/constants.txt">
page {
fluidtemplate {
layoutRootPath = EXT:extdev_sitepackage/Resources/Private/Layouts/Page/
partialRootPath = EXT:extdev_sitepackage/Resources/Private/Partials/Page/
templateRootPath = EXT:extdev_sitepackage/Resources/Private/Templates/Page/
}
}
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:fluid_styled_content/Configuration/TypoScript/constants.txt">
page {
fluidtemplate {
layoutRootPath = EXT:extdev_sitepackage/Resources/Private/Layouts/Page/
partialRootPath = EXT:extdev_sitepackage/Resources/Private/Partials/Page/
templateRootPath = EXT:extdev_sitepackage/Resources/Private/Templates/Page/
}
}
<?php
/***************************************************************
*
* This is free and unencumbered software
* released into the public domain.
*
* (C0) 2018 ext/dev <info@extdev.io>
*
***************************************************************/
@zechendorf
zechendorf / bodyTag.typoscript
Created March 10, 2018 07:12
TypoScript bodyTag with page uid
page.bodyTag >
page.bodyTagCObject = TEXT
page.bodyTagCObject.dataWrap = <body id="page-{field:uid}">
@zechendorf
zechendorf / gist:89d280c4cdf612feaf120e8ff02d7bd1
Created February 8, 2018 09:28
plugin.tx_porto.template.header-flattopbar.txt
# configure porto for flat header with top bar
plugin.tx_porto.template.header = FlatTopBar
plugin.tx_porto.template.headerNavType = header-nav-stripe
@zechendorf
zechendorf / gist:806789f06016b5a64404cf097801afb7
Last active February 8, 2018 09:27
plugin.tx_porto.template.header-flat.txt
# configure porto for flat header
plugin.tx_porto.template.header = Flat
plugin.tx_porto.template.headerNavType = header-nav-stripe
# configure porto for default header
plugin.tx_porto.template.header = Default
<?php
$realurlConfig = array(
'init' => array(
// [...]
'postVarSet_failureMode'=> false,
)
// [...]
);
$uri = uriBuilder->reset()
->setTargetPageUid($pageUid)
->uriFor(
$actionName=null,
$controllerArguments=array(),
$controllerName=null,
$extensionName=null,
$pluginName=null)
->setCreateAbsoluteUri(true)
->build()