Supergrover heeft een vogeltje gered. Dat vogeltje zat heel hoog in een boom en durfde niet naar beneden te klimmen!
uit http://typo3.org/document...ect/The_Template_Auto_pa/
je kunt dat controleren in de Object Browser
Oftewel, je moet in de template voor jouw site, de automaketemplate ook activeren:Configuring the Template Auto-parser
As with any extension for which we want to know anything we should consult the manual for the extension on typo3.org. [url=http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=154&tx_extrepmgm_pi1[tocEl]=501&cHash=2bbdf1c6ca]Click this link and you will see the table with properties for the cObject.[/url]
To make it very clear to you what the Template Auto-parser does I'll simply insert the output from the plugin as the only content on the page and further I will configure the PAGE object "page" to not output the usual header and footer content.
This is the Setup field content of the template record:
code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30# Configuring the Auto-Parser: plugin.tx_automaketemplate_pi1 { # Read the template file: content = FILE content.file = fileadmin/template/main/template_1.html # Here we define which elements in the HTML that # should be wrapped in subpart-comments: elements { BODY.all = 1 BODY.all.subpartMarker = DOCUMENT_BODY HEAD.all = 1 HEAD.all.subpartMarker = DOCUMENT_HEADER HEAD.rmTagSections = title TD.all = 1 } # Prefix all relative paths with this value: relPathPrefix = fileadmin/template/main/ } # Default PAGE object: page = PAGE page.typeNum = 0 page.config.disableAllHeaderCode=1 page.10 =< plugin.tx_automaketemplate_pi1
Save template and hit the frontend. You should see exactly what the fileadmin/template/main/template_1.html would look like by itself:
je kunt dat controleren in de Object Browser
Intelligente mensen zoeken in tijden van crisis naar oplossingen, Idioten zoeken dan schuldigen