Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Extension-Icons are not accessible #8

Closed
maximilian-walter opened this issue Mar 30, 2018 · 2 comments
Closed

Extension-Icons are not accessible #8

maximilian-walter opened this issue Mar 30, 2018 · 2 comments

Comments

@maximilian-walter
Copy link

The extension-icons in the root-directory of a extension (eg typo3conf/ext/example/ext_icon.gif) are not accessible anymore, because they are not linked in the public-directory.

Is this the intended behaviour? In my opinion all icon-files(ext_icon.{gif,png,svg}) should also be linked to prevent many broken images in the backend (eg in the extension-manager).

Thanks!

@helhum
Copy link
Owner

helhum commented Mar 30, 2018

Hi and thanks for your report!

Since TYPO3 8.7 extensions can provide their icon as Resources/Public/Icons/Extension.png

Like any other public asset extensions provide, also the ext icon must be put below Resources/Public to be fully compatible with the approach this package offers.

@helhum helhum closed this as completed Mar 30, 2018
@maximilian-walter
Copy link
Author

Thanks for your feedback! I didn't realize that the ext_icon-files are deprecated.

If others have the same problem: I added the following Composer-scripts as a workaround (replace "flux vhs" with the list of affected extensions):

"scripts": {
    "post-autoload-dump": [
        "for ext in flux vhs; do mkdir -p public/typo3conf/ext/${ext} && (cd public/typo3conf/ext/${ext} && rm -f ext_icon.* && ln -s ../../../../private/typo3conf/ext/${ext}/ext_icon.*); done"
    ]
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants