plugin.tx_exampleext_pi1 { templateFile = fileadmin/templates/footemplate.html subPart = ###TEASERSEARCH### } 10 < plugin.tx_exampleext_pi1 oder lib.foo < plugin.tx_exampleext_pi1
Archiv für den Tag: 3. Dezember 2012
PHP TYPO3: configure to output xml
config.xmlprologue = none config.disableAllHeaderCode = 1 page = PAGE page.typeNum = 0 page.10 < plugin.tx_the_ext_that_generates_the_xml_pi1
TypoScript: breadcrumb
lib.breadcrumb = HMENU lib.breadcrumb { special = rootline special.range = 1|-1 1 = TMENU 1 { NO.linkWrap = | > NO.stdWrap2.noTrimWrap = | | | CUR < .NO CUR = 1 CUR { linkWrap = | doNotLinkIt = 1 } } }
PHP Typo3: working with templates in extension
<?php //Templatefile $this->templateCode = $this->cObj->fileResource($tmplfile); $template['content'] = $this->cObj->getSubpart($this->templateCode, '###SUBPART###'); $markerArray['###MARKER1###'] = ''; $markerArray['###MARKER2###'] = ''; $markerArray['###MARKER3###'] = ''; $content = $this->cObj->substituteMarkerArrayCached($template['content'], $markerArray); ?>