This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class user_pageNotFound { | |
function pageNotFound($params,$tsfeObj) { | |
global $TYPO3_CONF_VARS; | |
$url = \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL').'index.php?id='.$TYPO3_CONF_VARS['EXTCONF']['realurl'][\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_HOST')]['errorPage']; | |
$_buffer = $this->loadPage($url); | |
echo $_buffer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tt_content.image.20.1.layout.default.element.override.cObject = CASE | |
tt_content.image.20.1.layout.default.element.override.cObject { | |
key.data = file:current:extension | |
svg = TEXT | |
svg { | |
value = <img src="{file:current:publicUrl}" width="{field:imagewidth}" height="{field:imageheight}"###PARAMS######ALTPARAMS######BORDER######SELFCLOSINGTAGSLASH###> | |
insertData = 1 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Example Fluid Part --> | |
<f:cObject typoscriptObjectPath="lib.prevLink" data="{newsItem.categories.0.uid}"/> | |
<h2>{newsItem.title}</h2> | |
<f:cObject typoscriptObjectPath="lib.nextLink" data="{newsItem.categories.0.uid}"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |