I got the default to work by wrapping it in a COA

It would be great to get the background image from a parent page and automatically show it on child-pages to the nth level if they do not have their own image instead of just a single default image

---------------------------------------CURRENT Typo3 6.1 > -------------------------------------------
backgroundImage = COA
      backgroundImage {
      10 = TEXT
      10.value = <div id="fullSizeBackground"><img
id="fullSizeBackgroundImg" src="

##get the source else default

20 = COA
 20 {
     stdWrap.ifEmpty = fileadmin/backgrounds/abstract/sjared0.jpg
     10 = FILES
     10 {
     references {
                 table = pages
## i don't know if the following works - will have to test...
                 uid.data = leveluid:-1, slide
                 fieldName = media
             }
             renderObj = TEXT
             renderObj {
               #required = 1
               data = file:current:publicUrl
             }
     }
 }

     30 = TEXT
     30.value = "/></div>
 }






-------------------------------------------------------------------------------------------------------------------
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to