Project

General

Profile

Bug #80541

Updated by Markus Klein over 7 years ago

FileBrowser popup didn't works when clicking on button in fluid content element 

 The reason is that @$className@ $className is @null@ null in the @getElementBrowserInstance@ getElementBrowserInstance method of the file @typo3/sysext/recordlist/Classes/Controller/ElementBrowserController.php@ typo3/sysext/recordlist/Classes/Controller/ElementBrowserController.php 

 To fix it, simply add : 

 <pre> 
 if(empty($className)) 
 { 
    $className = 'TYPO3\CMS\Recordlist\Browser\FileBrowser'; 
 } 
 </pre> 


 before this line : 
 <pre> 
 

 $className = $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ElementBrowsers'][$this->mode]; 
 </pre>

Back