Hi Peter, Working behaviour was initially all fields of all models. I have now changed the site_search to search two fields of the main model and I can confirm that it still works as intended.
Cheers, Stu On Dec 6, 8:20 am, Peter Booth <[email protected]> wrote: > Just to be clear , what is "working" behavior? Do you search on all models > from home page? Do you search on spe icicle fids for an index page? > > Sent from my iPhone > > On Dec 5, 2010, at 2:38 PM, Stu <[email protected]> wrote: > > > Hi Ignacio, > > > Thanks for the tip. I turned on firebug, saw that there was an error - > > prototype.js not playing well with jquery. > > > Giving this: > > element.dispatchEvent is not a > > functionhttp://localhost:3000/javascripts/prototype.js?1289076252 > > Line 4071 > > > To solve this all I needed was: > > > <script type="text/javascript" > > > jQuery.noConflict(); > > </script> > > > And it was business as usual. > > > Posted the complete solution just in case another Hobo User runs in > > the same problem (even though it's not an issue with Hobo itself). > > > Cheers, > > Stu > > > On Dec 5, 5:03 pm, Ignacio Huerta <[email protected]> wrote: > >> Hi, > > >> I suppose you'd like to use <live-search> for something else than > >> site-wide search, because by default live-search is present in all pages > >> with Hobo 1.0.1 (top right). > > >> When the spinner doesn't appear, is Firebug telling you something? What > >> would you like live-search to do in your show page? > > >> Regards, > >> Ignacio > > >> El dom, 05-12-2010 a las 06:09 -0800, Stu escribió: > > >>> I have included the live search in my site and it worked on the Home > >>> page but no other pages. > > >>> After defining a search method in my Model's controller the search > >>> worked for that Model's index page but not on that model's show page. > >>> I have tried with the same queries, I don't get the spinner or > >>> anything. > > >>> So what am I missing? I can follow the ruby code without any problems > >>> when it works, but I'm unsure where the ajax magic is that sends the > >>> initial query, so any help on that regard is appreciated. > > >> --www.ihuerta.net > >> Email realizado con Software Libre > > >> signature.asc > >> < 1KViewDownload > > > -- > > You received this message because you are subscribed to the Google Groups > > "Hobo Users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/hobousers?hl=en. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
