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

hook_library and incorrect leaflet path #1

Open
cannod opened this issue Aug 16, 2013 · 1 comment
Open

hook_library and incorrect leaflet path #1

cannod opened this issue Aug 16, 2013 · 1 comment

Comments

@cannod
Copy link

cannod commented Aug 16, 2013

Had problem getting module to work and tracked it down to hook_library. The leaflet library is installed in "leaflet" directory, not Leaflet.

I'm pretty sure it is supposed to be a lower case 'l'. Changing to $leaflet_core = libraries_get_path('leaflet'); in hook_library() got things working.

@dafeder
Copy link
Member

dafeder commented Dec 3, 2013

I needed to change the capitalization as well as remove "dist" from the path to conform to how the most recent leaflet module sets things up. Here's a patch of what I did. The other option is to require leaflet.module users to have both a "leaflet" and "Leaflet" dir.

https://gist.github.com/dafeder/7777400

acouch pushed a commit that referenced this issue Aug 22, 2015
GetDKAN/dkan#401: Adding leaflet_widget dependencies in it's own makefil...
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

2 participants