Return to Snippet

Revision: 4499
at December 21, 2007 18:36 by jpdamen

Initial Code
//build CONTENT objects
		foreach ($items as $item) {
				$newItem = ($x+1)*10;
				$conf['10.'][$newItem] = 'CONTENT';
				$conf['10.'][$newItem.'.'] = $dummyItem;
				$conf['10.'][$newItem.'.']['select.']['uidInList'] = $item['uid'];
				$conf['10.'][$newItem.'.']['select.']['pidInList'] = $item['pid'];
				if($item['lock']) {$conf['10.'][$newItem.'.']['renderObj.']['stdWrap.']['dataWrap'] = $lConf['lockItemWrap'];} // special wrap to make item non-draggable and for providing custom CSS

Initial URL

Initial Description

Initial Title
php define typoscript from array of associative arrays

Initial Tags
php, textmate

Initial Language