Note to self: find out what the correct way of managing libraries are in D7 and comply.
If someone has a pointer on this, please share.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | plupload-library-path-902410-9.patch | 639 bytes | effulgentsia |
| #8 | plupload-library-path-902410-8.patch | 639 bytes | effulgentsia |
| #7 | 902410-libraries-integration.patch | 1.77 KB | katbailey |
Comments
Comment #1
Jackinloadup commentedLook into using the http://drupal.org/project/libraries module to work with the plupload library.
Comment #2
colemanw commentedFor the D6 version you can use the libraries project if you want to. If not, just instruct the user to stick the plupload library in their sites/all/libraries folder.
Please do one or the other. The module folder is a really bad place for it :)
Comment #3
damienmckennaYou should take the approach used by other modules:
Comment #4
rickvug commentedMarked #1029190: use sites/all/libraries, not module folder as a duplicate.
Comment #5
effulgentsia commentedI forget why I assigned this to me. I may get to it at some point, but it just hasn't been a priority for me. If it is for someone else though, please post a patch.
Comment #6
justintime commentedFor anyone subscribing to this thread and not to #1029190: use sites/all/libraries, not module folder, I've posted a fix for the D6 version of plupload that needs review over there.
Comment #7
katbailey commentedHere's a patch based on justintime's D6 solution. I changed the order from what Damien suggested in #3 as it seems to me that if libraries module is enabled, that's the first option it should go with.
Comment #8
effulgentsia commentedThanks for the patch. It helped a lot in me learning what the conventions are. I read the libraries module code, and it doesn't support a library being inside a module folder, and according to the information in http://drupal.org/project/libraries, we probably shouldn't be encouraging that either.
Given that, I think we can just simplify to this 1 line patch. What do you all think? Any objections?
Comment #9
effulgentsia commentedActually, please review this one instead.
Comment #10
effulgentsia commentedDecided to commit #9. Please re-open issue if there are problems with it. I also updated README.txt to reflect that the library will no longer be auto-discovered in the module folder.
Comment #13
wizonesolutionsThe project page should reflect this change. I'm not sure if the jQuery loader issue is fixed yet, but the library can be placed in sites/all/libraries now, from what I am reading.