Postponed (maintainer needs more info)
Project:
Apache Solr AJAX
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
25 Mar 2010 at 23:26 UTC
Updated:
8 Sep 2017 at 10:10 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedI tried this suggestion:
But that doesnt work. Any ideas on getting apachesolr_autocomplete to work?
Comment #2
jpmckinney commentedYou don't need to implement MYMODULE_apachesolr_ajax_modules_alter.
The problem is a conflict between
misc/autocomplete.jsandapachesolr_ajax.js. I would have to study autocomplete.js to discover a way to have the two co-exist.Comment #3
jpmckinney commentedComment #4
jpmckinney commentedComment #5
robotjox commentedI have the exact same problem - subscribing
Comment #6
robotjox commentedjust tried 1.11 - at first I was happy because autocomplete now seems to work - unfortunately apachesolr_ajax stopped working :(
Had to go back to 1.10 to get ajax working again.
Comment #7
loganfsmyth commentedCould you confirm whether or not you have tried the "Missing JavaScript files" fix in the troubleshooting section here: http://drupal.org/node/846694
I'm not sure how our recent changes will effect the autocomplete issues you where having though. We should now be properly using Drupal behaviors, so there is a better chance it will work anyway.
Comment #8
robotjox commentedThanks for replying so fast!
Yes, I have those lines (they are necessary for me with 1.10 too), but with 1.11 apachesolr_ajax.js does not get loaded even with these lines present (jquery.livequery.js does though?!)
The bad thing is that even when I add apachesolr_ajax.js manually, the module still does not seem to work.
The yui iframe is also gone in 1.11, but adding that one manually does not seem to help much either :(
As I said, reverting to 1.10 makes it all come back, but I really need autocomplete to work together with ajax.
I would love to help troubleshooting this, but I have no idea where to start...
Comment #9
robotjox commentedcorrection - the iframe GETS added; my mistake!
Comment #10
robotjox commentedsmall addition: if I change this line:
drupal_add_js(drupal_get_path('module', 'apachesolr_ajax') .'/apachesolr_ajax.js', 'module', 'footer');to:
drupal_add_js(drupal_get_path('module', 'apachesolr_ajax') .'/apachesolr_ajax.js');the apachesolr_ajax.js file gets added. But again, it doesn't seem to get the module working properly :(
Comment #11
loganfsmyth commentedSorry, I should have been more specific. Can you confirm specifically if the
$vars['closure'] = theme('closure');bit is there in the preprocess_page hook? We just added that today, so it wouldn't have been there from before.If that is there, can you confirm that your theme has
print $closure;at the bottom of the page.tpl.php?Comment #12
loganfsmyth commentedComment #13
Quarantine commentedSubscribing. Haven't tried using this module yet, but I will when it can co-exist with apachesolr_autocomplete.
Comment #14
loganfsmyth commentedI may not have been clear enough in #11. There is a very good chance that this will work fine with apachesolr_autocomplete now due to several changes that we made.
I don't have time to set up a test site just for this at the moment, so if someone decides to try it out, then please report back whether it works or not. I would say there is a 90% chance that it will work now.
If no one ever tries it, I guess we'll never know.
Comment #15
Quarantine commentedThanks, clearly I missed that bit. I'll give it a spin and will report back when I get apachesolr to work on my site.
Comment #16
loganfsmyth commentedGreat, thanks. :)
Comment #17
marcoka commentedi would be in for tesing too, but where is the latest dev located? Definitely not here: http://drupalcode.org/viewvc/drupal/contributions/modules/apachesolr_ajax/
Could you tell me where the 6x dev is located?
Comment #18
jpmckinney commentedYou can get it with this command: