Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[J!4, AF 2.5.4] fontawesome wrong path #228

Open
ReLater opened this issue Aug 19, 2021 · 1 comment
Open

[J!4, AF 2.5.4] fontawesome wrong path #228

ReLater opened this issue Aug 19, 2021 · 1 comment

Comments

@ReLater
Copy link

ReLater commented Aug 19, 2021

  • 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).css but that fails too, because it stupidly doesn't include the necessary font-face parts. 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
@ReLater ReLater changed the title [J!4] fontawesome wrong path [J!4, AF 2.5.4] fontawesome wrong path Aug 19, 2021
@ReLater
Copy link
Author

ReLater commented Aug 23, 2021

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?

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

No branches or pull requests

1 participant