/ Published in: R
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//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 $x++; }