Closed (fixed)
Project:
Cloud Zoom
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Nov 2011 at 15:01 UTC
Updated:
29 Oct 2012 at 16:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
mrfelton commentedAttached patch allow the library to be loaded by the Libraries API module (if enabled), by placing the library in a directory named 'cloud-zoom' within any of the locations that the libraries api module supports. It still supports the current configuration of placing the library within the module directory, as well as also allowing the module to be loaded from any of PHP's include paths. Adapted from http://engineeredweb.com/blog/10/6/accessing-libraries-whether-drupal-or....
Comment #2
dropbydrop commentedcould you please commit this?
Comment #3
mrfelton commentedHere is one that should apply cleanly
Comment #4
czigor commentedThere's a bug in #3 if the library is not in the libraries folder but in the module folder: the returned path is 1. The following patch corrects this.
Also, this patch (and #3 too) introduces a dependency on the Libraries module.
Comment #5
nicholasthompsonCommitted - thanks guys!