[TYPO3-english] T3 6.2: HMENU, levelmedia: -1, listNum is irnored
Christian Tauscher
christian.tauscher at media-distillery.de
Mon Jun 23 22:21:55 CEST 2014
Hello.
Look at this:
lib.mainMenu = HMENU
lib.mainMenu.1 = TMENU
lib.mainMenu.1 {
expAll=1
wrap = <ul id="mainMenu" class="menu"> | </ul>
NO.wrapItemAndSub = <li>|</li>
NO.before.cObject = FILES
NO.before.cObject {
references {
current = 1
table = pages
fieldName = media
listNum = 0
}
renderObj = IMAGE
renderObj {
file.import.data = file:current:publicUrl
file.listNum = 0
}
}
ACT < .NO
ACT = 1
ACT.ATagParams = class="act"
ACT.before.cObject.renderObj.file.listNum = 1
}
In pages:media there 2 images referenced.
First for NO-State, second for ACT.
but cObject.renderObj ALWAYS renders all Images.
???
How can I change this behavior?
How can I render my Menu?
Can't find a answer at Google or in the Newsgroup.
Thank you for your help with this issue
Christian.
More information about the TYPO3-english
mailing list