Closed (fixed)
Project:
Masonry API
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2012 at 17:04 UTC
Updated:
9 Jan 2013 at 22:00 UTC
Jump to comment: Most recent
drupal_add_library('masonry', 'masonry') does not load the library. Stepping through the code, drupal_get_library is not finding the library. On the reports page, there's a message indicating that masonry is detected and available. Latest 7x, libraries 2.x
Comments
Comment #1
Anonymous (not verified) commentedI think you're looking for libraries_load()...
drupal_add_library() is a function in core Drupal for loading libraries declared using hook_library().
As Masonry uses the Libraries contrib module, you need to use its API functions instead. See here for more details.
Comment #2
davidfells81@gmail.com commentedlibraries_load didn't work as expected either, but I'll check again. Thanks, was fuzzy on the distinction between the two APIs.