[TYPO3-english] New content element wizard and own icon

Egbert van der Hout egbertvanderhout at gmail.com
Thu Jun 14 11:24:42 CEST 2012


Hi Chris,

You need to use ../typo3conf/ext/... That works for me.

Regards,

Egbert

Chris Müller (10-2-2012 11:28):
> Hello,
>
> I made an extension with a new content element in TYPO3 4.6. Now I want
> to show it in the new content element wizard with an own icon. The new
> content element is shown in the list but with no icon. I tried the
> following:
>
> mod.wizards.newContentElement.wizardItems.common.elements {
>    my_extension.icon = EXT:my_extension/my_icon.gif
> }
>
> But that doesn't work. I also deleted the sprites folder in typo3temp
> and tried also the following:
>
> mod.wizards.newContentElement.wizardItems.common.elements {
>    my_extension.icon = typo3conf/ext/my_extension/my_icon.gif
> }
>
> and that:
>
> mod.wizards.newContentElement.wizardItems.common.elements {
>    my_extension.icon =
> ../../../../../../typo3conf/ext/my_extension/my_icon.gif
> }
>
> because it seems, that the icons are getting from the gfx directory.
>
> Does someone know, how to do this?
>
> Regards,
> Chris.




More information about the TYPO3-english mailing list