[TYPO3-dam] DAM development snapshot for download

Thomas Peterson info at thomas-peterson.de
Tue Dec 27 23:54:57 CET 2005


Hey


In this function you use unset $mod[$key] but it not work because $key is an 
array:

$mod=array{
    web_list=array{
         newPageWiz.overrideWithExtension=templavoila
         newContentWiz.overrideWithExtension=templavoila
     }
}



if ($mod = $TSConfValues['properties']) {
    foreach($mod as $key) {
     if (!(substr($key, 0, 7)=='txdamM1')) {
      unset($mod[$key]);
     }
    }
 }


I hope it will help :-D

best regards
-- 

Mit freundlich Grüßen
Thomas Peterson

Freelancer for web development and typo3
Tel: 0170/5045438
www.thomas-peterson.de 





More information about the TYPO3-project-dam mailing list