madeyourday / contao-rocksolid-icon-picker

RockSolid Icon Picker Contao Extension
http://rocksolidthemes.com/de/contao/plugins/custom-content-elements
MIT License
5 stars 3 forks source link

Icon-picker doesn't work with MultiColumnWizard #12

Closed ixtensa closed 4 years ago

ixtensa commented 5 years ago

Because in MultiColumnWizard the widget doesn't have a fieldname "strField" the icon-font is not found.

To fix this replace in src/Widget/IconPicker.php line 41 $fontPath = $GLOBALS['TL_DCA'][$this->strTable]['fields'][$this->strField]['eval']['iconFont']; with the mutch shorter $fontPath = $this->iconFont;