[Typo3] simple but strange
ADavide
davide at bybit.it
Mon Sep 19 13:42:02 CEST 2005
Hi all,
I have a curious problem with a small ts.
I need to concat contents from all subpages and show the result replacing
two html template marks (with the same content)
only the first one is replaced ;-|
my ts code is
===============
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/template/prova/prova3.html
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/template/prova/
}
fullContent = CONTENT
fullContent {
table = pages
select {
pidInList = this
orderBy = sorting
}
renderObj = CONTENT
renderObj {
table = tt_content
select {
pidInList.field = uid
orderBy = sorting
}
}
renderObj.stdWrap.wrap = |§§§
}
# Template content object:
provaTemplate = TEMPLATE
provaTemplate {
template < plugin.tx_automaketemplate_pi1
marks.FIRST = CONTENT
marks.FIRST < fullContent
marks.SECOND = CONTENT
marks.SECOND < fullContent
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.1 = TEMPLATE
page.1 < provaTemplate
===============
Is there someone have some idea about this behaviour?
Thanks in advance.
Bye, Davide.
More information about the TYPO3-english
mailing list