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.
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to