вот решение - выводит хедер+фотку из контента всех под меню.
PHP код:
temp.zzz=CONTENT
temp.zzz {
table = tt_content
select{
#orderBy = tstamp DESC
languageField=sys_language_uid
max = 10
pidInList.cObject = HMENU
pidInList.cObject {
entryLevel = 1 //если под меню на 2 уровне то 1, если на 1 - 0
1 = TMENU
1 {
expAll = 1
NO {
doNotLinkIt = 1
stdWrap.field = uid
stdWrap.wrap = | |*| ,| |*|
# Here we need a optionSplit
# so that the first uid has no ,
}
}
}
}
renderObj = COA
renderObj {
10 = IMAGE
10{
file.import.field = image
file.import = uploads/pics/
file.import.listNum = 0
file.width = 150
stdWrap.typolink.parameter.field=pid
typolink.parameter.stdWrap.dataWrap=|#{field:uid}
wrap = <p>|
}
20 = TEXT
20{
field = header
typolink.parameter.field=pid
typolink.parameter.stdWrap.dataWrap=|#{field:uid}
wrap = <font style="padding-left:5px">|</font>
}
}
}