Is there a fair number of people that would like to see this module for Drupal 6?
I recently used this as a base and made my own module, inserting a few site-specific customizations. I can easily remove the customizations and generalize my updates.
I'm going to implement it on the sites I'm working on, and I'd love to give back.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | multisite_search.zip | 14.58 KB | earthday47 |
Comments
Comment #1
mstrelan commentedI would love to use this module but it seems a bit underdeveloped at the moment.
Comment #2
earthday47Indeed it is underdeveloped. As I would say, it needs some "serious love".
Attached is a ZIP of my version of Multisite Search. Give it a try and see if it meets your needs.
Important note: Disable AND uninstall the old version before enabling this one. I changed some database names, and some of the functions aren't named correctly, namespaces will collide.
How I got it to work on my installation:
My database configuration:
drupal_shared db:
drupal_main db:
To share the multisite search tables, the
settings.phpfile for each site should have at least this for your$db_prefixdeclaration:Dot notation is for a separate database, underscore is for table prefixing. I think you could use
drupal_shared_as a prefix and it should work, but I haven't tested it.Then you should be good! Set it up and give a try.
Code changes:
One more thing about customizing the search results: I overwrote template_preprocess_search_result() to add the "site name" to the results. If you don't want that, override that function in your theme to change it.
There's lots more that needs to be changed, I'm looking into getting a CVS account and updating.
Comment #3
mstrelan commentedThank you so much for posting this. The list of changes you mentioned were the exact changes I would have done, even the template_preprocess. Unfortunately for my situation a decision was made to switch to a single shared database and implement the domain access module, so I won't get around to testing out your module. Hopefully it will help somebody else out there!
Comment #4
earthday47Moving to the webmasters issues queue as per http://drupal.org/node/251466.
The maintainer has not responded in two weeks, and the project is already listed under Abandoned Projects (http://drupal.org/user/291168). A commit has not been made in 1 year. In its current state posted on d.o, it is not stable, it requires several fixes just to get it to work.
Link to Multisite Search project page: http://drupal.org/project/multisite_search
I've already uploaded an attachment with my modifications in Comment #2. It's stable, and works on my test site. I'd love to commit this to the project on d.o, and then work on fixing the coding violations and namespace errors in subsequent versions.
I'll be applying for a CVS account if/when I get approval.
Hope this gets the ball rolling.
Comment #5
avpaderno@earthday47: If you want to become the new maintainer of the project, you need to apply for a CVS account, or I cannot grant you access to the project repository.
Comment #6
earthday47I have applied for a CVS account and referenced this issue.
Comment #7
avpadernoThe ownership of the module is passed to earthday47.