Project

General

Profile

Actions

Bug #23300

closed

Moder template building - Template subparts problem

Added by Fabio over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Communication
Target version:
-
Start date:
2010-07-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions

Also available in: Atom PDF