Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am not sure what your plans are for Drupal 7, but I have a module (Search by Page Attachments, part of http://drupal.org/project/search_by_page) which depends on Search Files API. Since I just ported my module to Drupal 7, in the process I also ported the API portion of your module to Drupal 7.
I'll attach it in a zip file in a comment here in just a second. I didn't think making a patch file was all that useful.
I also didn't port the other modules in your project, just the API module.
Hope this helps...
Comment | File | Size | Author |
---|---|---|---|
#3 | search_files7.zip | 6.22 KB | jhodgdon |
#2 | search_files.zip | 6.23 KB | jhodgdon |
#1 | search_files.zip | 6.23 KB | jhodgdon |
Comments
Comment #1
jhodgdonHere's a zip file with a working version of Search Files API for Drupal 7.
EDIT: There is a problem with this version. New one coming shortly....
Comment #2
jhodgdonHere's a new version. There was a small error in that other attachment.
This version passes all my attachment searching tests in Search by Page, so I'm reasonably certain that the helper API functionality works.
If you are not planning on releasing Search Files for Drupal 7, could you let me know (use my contact form or reply to this issue)?
I will in that case make plans to incorporate your API module into Search by Page. Thanks...
Comment #3
jhodgdonHere's a new version. Some things changed in Drupal 7's install process and the above zip file wouldn't work any more.
Module maintainers: Are you planning on doing a release of this module for Drupal 7?
Comment #4
jrglasgow CreditAttribution: jrglasgow commentedyes, we will probably do a version of the module for D7, I just haven't gotten around to it yet.
Comment #5
jhodgdonGood to know. The above zip file will get you part way there, at least.
I've also ported Search by Page Attachments to D7, which may also help you figure out the Field API, if your module needs that (since both upload and cck/filefield are subsumed in D7 by the File field, you might). Issue tracking progress of porting SBP to D7:
#674070: Drupal 7 version of Search by Page
Comment #6
jrglasgow CreditAttribution: jrglasgow commentedI have created a branch for D7 and committed your changes to the branch. this is my start to port the module to D7. I appreciate the help.