Closed creatingo closed 10 years ago
Well, there is no better solution without changing the core files. I added a filerPicker function so now you can use the following snippet in your DCA (tested for Contao 3.27):
'wizard' => array ( array('MultiColumnWizardHelper', 'mcwFilePicker') ),
Könntet ihr das auch noch für den pagePicker bereit stellen?
Clicking on the filePicker icon modal window opens, but all images are missing. This problem occures only for DCA text field with custom wizard function filePicker (Contao native) MCW generate $dc->field, which looks like "value1_row0_value2". I think modal selector needs "value1__value2".
When I change returned field value (href) in filePicker function to "contao/file.php?do= ... field=value1__value2 ..." images becomes visible in modal. Maybe there is a better solution.
DCA field inputType => fileTree works right.
Tested: Contao 3.0.6, 3.1.5, 3.2.4 MCW 3.2.0 rc2 DEV
Please see this video from my testing "fileTree vs. wizard" http://issues.creatingo.com/mcw_fp.webm