[TYPO3-english] problem with split in TS - URGENt

Piotr Burda pburda at typo3job.com
Thu Dec 22 13:33:45 CET 2011


ufff i got it :) will be alive :)

code is:
lib.images_test = COA
lib.images_test.wrap = <script type="text/javascript"> var 
vegas_background_images = new Array(); | (function($){ 
$(document).ready( function () { 
parseVegasImages(vegas_background_images); }); }) (jQuery); </script>
lib.images_test {
    10 = TEXT
    10.data =
    {
20 = CONTENT
20 {
table = tt_news
select {
selectFields = uid, image
pidInList = 249
andWhere.data = GPvar:tx_ttnews|tt_news
andWhere.wrap = uid=|
}
renderObj = TEXT
renderObj {
     field = image
   stdWrap.split {
     token = ,
     cObjNum = 1
     1.current = 1
     1.wrap = vegas_background_images.push('<img src="uploads/pics/|" />');
   }


}
}

}

}


More information about the TYPO3-english mailing list