[TYPO3-english] Core: RFC: #7921: recursive pidInList for select in cObj CONTENT

David Bruchmann typo3-en at bruchmann-web.de
Fri May 29 02:38:08 CEST 2009


Hy,

the patch 2 of #7921 (http://bugs.typo3.org/view.php?id=7921) doesn't 
allow stdWrap, please consider following solution if it isn't still done 
like that in Version 4.3:

            // Handle recursive function for the pidInList
        $conf['recursive'] = 
trim($this->stdWrap($conf['recursive'],$conf['recursive.']));
        if ($conf['recursive']) {
            foreach (explode(',', $conf['pidInList']) as $value) {
                $pidList.= $value . ',' . $this->getTreeList($value, 
$conf['recursive']);
            }
            $conf['pidInList'] = trim($pidList, ',');
        }


Regards
David



More information about the TYPO3-english mailing list