#23300Moder template building - Template subparts problem
Description
Hello everyone
I am new in typo3, I am blocked in template building, the subparts of my html template don’t are replaced by dynamic contents or simple strings..
In my html layout I have a div with id=“contents” but nothing is replaced with text “Prova” for example..
What ‘s wrong??
Thanks
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/template/layout.htm
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
}
relPathPrefix = fileadmin/template/
}
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_BODY
subparts.contents = TEXT
subparts.contents.value = Prova
}
temp.headTemplate = TEMPLATE
temp.headTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_HEADER
}
page = PAGE
page.typeNum = 0
page.10 < temp.mainTemplate
page.headerData.10 < temp.headTemplate
(issue imported from #M15284)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.