plugin.tx_exampleext_pi1 {
templateFile = fileadmin/templates/footemplate.html
subPart = ###TEASERSEARCH###
}
10 < plugin.tx_exampleext_pi1
oder
lib.foo < plugin.tx_exampleext_pi1
config.xmlprologue = none
config.disableAllHeaderCode = 1
page = PAGE
page.typeNum = 0
page.10 < plugin.tx_the_ext_that_generates_the_xml_pi1
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
//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);
?>
Web, Coding, Mac, Snippets, a Blog and more…