[TYPO3-english] TYPO3 6.2, NO.RO =1
Christian Tauscher
christian.tauscher at media-distillery.de
Sat Jun 21 22:23:03 CEST 2014
Hallo.
On the pages Record I have 2 media Files
I wand to generate a Menu, first Image is NO-State, Secound RO/Act state.
Here is the TypoScript:
lib.mainMenu = HMENU
lib.mainMenu.1 = TMENU
lib.mainMenu.1 {
wrap = <ul id="mainMenu"> | </ul>
NO.wrapItemAndSub = <li>|</li>
NO.beforeImg {
import.field = media
treatIdAsReference = 1
import.listNum = 0
}
NO.RO = 1
NO.beforeROImg < .NO.beforeImg
NO.beforeROImg.import.listNum = 1
}
This should work.
The DB Referenz-Index is OK.
I can get some output wit NO...listNum = 1 , but nothing with listNum=0
If I change the Images on the page Record, mostly I get
"No fileusage (sys_file_reference) found for given UID."
Would be nice If you can point me to the right direction.
Thank You.
Christian.
More information about the TYPO3-english
mailing list