Astroid-Framework
Astroid-Framework copied to clipboard
[J!4, AF 2.5.4] fontawesome wrong path
- AF 2.5.4
- Joomla 4.0.0
- Template One
- fontawesome.min.css not found
Reason: See https://github.com/joomdev/Astroid-Framework/blob/v2.5.4/astroid/astroid-framework/framework/library/astroid/Helper/Head.php#L64
This path doesn't exist anymore in Joomla 4. Therefore fa-* icons aren't displayed.
- I've tried
media/vendor/fontawesome-free/css/fontawesome(.min).cssbut that fails too, because it stupidly doesn't include the necessaryfont-faceparts. I don't know what it's good for at all. - As far as I see the only usable path from Jomla core is
media/system/css/joomla-fontawesome.min.css
I forgot to say that I've disabled "Font Awesome Loading" in Astroid plugin. After looking in the code above where I find also a line $document->loadFontAwesome(); I'm a bit confused now. Maybe the linked line above is intentionally wrong and just redundant in some cases?