Closed artur-grigoryan-cgn closed 2 years ago
Hi, Mask only represents the capabilities of the TCA. If you wish to use an own renderType, then you can just use an input field and override the renderType with TCA overrides.
Okay, i will try this! Is an IconPicker planned?
Danke. :)
As far as I know not. I think the best alternative right now is a select single with selectIcons enabled.
Hi Artur, we use bw_icons in our projects together with mask + mask_export like Nikita described as override or additional element in overrides.
Hi madeinnature,
so just:
$GLOBALS['TCA']['tt_content']['columns']['tx_mask_icon']['config']['renderType'] = 'iconSelection';
in the tt_content.php? Doesn't seem to work.
Have you added mask as an extension dependency?
I added Mask with composer req mask/mask
You need to add this also in your extension, in which you override the TCA
i have added mask in composer.json of the project root and the ivs_elements. No effect.
Have you run composer update after adding it to ivs_elements? If not try that. This will update the extension loading order.
yes :)
Hm, then I don't know. Anything else must be wrong. It's just these 2 steps:
That's it. This always works. Please verify the loading order in the PackageArtifact.php and the TCA in the lowlevel Configuration module.
Okay, now it works. I deleted the project and pullt it again. Thank you for the great help!
Hi, it would be amazing to get an IconPicker so i the user can use icons. Otherwise it could help to let me choose cusom RenderTypes so i could user the bw_icon extion. Thank you. :)