After installing a fresh install of the wetkit 2x distribution , go to admin/reports/status

the following notice shows up:

Navbar: Modernizr library
Modernizr library is not present The Modernizr library could not be found

Is this normal?

It also occurred on an upgrade.

Comments

  • sylus committed 388bcc1 on 7.x-2.x
    Update WetKit Admin for Issue #2375481 by joseph.olstad: Library is not...
sylus’s picture

Status: Active » Fixed

This issue was mitigated by the fact that WxT itself has Modernizr, the problem was Navbar was looking for the Modernizr library itself in the libraries folder and there was no way to force detection based on WxT having control of this library. Since there is no hook_requirements_alter in Drupal 7 I worked around this with a tiny patch and hook_invocation.

joseph.olstad’s picture

Thanks Sylus!

With good luck, navbar and wxt continue to use versions of modernizr that continue to work for both wxt and navbar.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

fgjohnson@lojoh.ca’s picture

In fear of looking particularly stupid... how do I apply this patch.

WxT was installed using git clone.
But I don't usually apply patches until they are implemented in a module release.
(It's a hugh hole in my skill set.)

Cheers