First off thank you for the great module, very handy.

I updated today to 7.x-2.1 and suddenly the fontawesome library wasn't loading. I took a quick look at the module and noticed that it's using hook_preprocess_page(). This is an issue for me because I use Panels Everywhere which, from what I understand, clobbers the page preprocess hook.

In researching the issue with Panels Everywhere and hook_preprocess_page() I learned that Javascript and CSS should be added using hook_preprocess_html(). Therefore I added library_load('fontawesome') to my theme_preprocess_html() and it solved my problem.

Is this an issue that should be corrected or am I just not seeing something?

Comments

GAMe’s picture

Did you hear any more about this? I too am getting the same issue.

I have hacked the module for now and its working but obviously not ideal. Hopefully this is fixed in the next version.

Thanks

enapoleone’s picture

I haven't heard anything else.

Here is another link:

https://www.drupal.org/node/1190894

Here's a a comment from one of the Panels Everywhere maintainers - even though it's related to Drupal 6 I think that idea is the same:

https://www.drupal.org/node/1153184

inders’s picture

Status: Active » Closed (fixed)

Was fixed in #2462541. Thank you !

Albert Volkman’s picture

Albert Volkman’s picture

Status: Closed (fixed) » Closed (duplicate)