Closed (cannot reproduce)
Project:
GeoNames
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2011 at 15:58 UTC
Updated:
9 Nov 2012 at 12:11 UTC
Hello,
I need help with autocomplete form integration from geonames tools module. I would like to put this form "geonames_tools_search_form" somewhere, anywhere visible, in a block for example but dont know how to do that? Should i make new module and add it there? Can somebody post some example for this?
Comments
Comment #1
Marko B commentedI did put "tools_search_form" whole form in my custom module and i get autocomoplete field but when i type something i dont get back anything, maybe i should change this somehow?
There is an "print drupal_to_js($matches);" at the end of th script but somehow it doesnt come to my autocomplete form. I copied form from tools module and its exactly the same as there
Comment #2
Marko B commentedFor some reason this works online, not on localhost, maybe this path "geonames/autocomplete" is making problems locally and should be different? Tried it with whole path like "localhost/travel/geonames/autocomplete" but still not results. I'll do this online then:-)
Comment #3
lyricnz commentedWhat do you mean "failed"? Check your system log for errors.
Comment #4
Marko B commentedWhere did i wrote "failed"?
Comment #5
lyricnz commentedWhat do you mean "is making problems locally"?
Comment #6
lyricnz commentedClosing this issue as no further feedback from submitter in over a year.
Comment #7
Marko B commentedWhat do you mean "no feedback" :-)