[TYPO3-english] typoscript levelmedia should take default language as fallback

Domi djgarms at gmail.com
Sun Sep 23 20:11:52 CEST 2012


Hello,

I try to get all media of a page in multilanguage site, as a fallback 
the default language should be taken.

How is this possible? Here my snippet which works well without the fallback:

temp.supersizeBlock = COA
temp.supersizeBlock {
   10 = TEXT
   10.data = levelmedia:-1,slide

   10.wrap = [|]
   10.split {
     token = ,
     cObjNum = 1
     # wrap here, coz stdWrap inside doesn't support option split
     wrap = { image: '|' },|*|{ image: '|' },|*|{ image: '|' }
     1 {
       10 = IMG_RESOURCE
       10.file {
         import.current = 1
         import = uploads/media/
       }
     }
   }
}

Thanks!

Dominic


More information about the TYPO3-english mailing list