Loren,
Thanks for your help. I got it working fine as you've suggested in the
masthead of the site, and I've also tested in the sidebar.
Why are you using the html form action instead of the r:search:form / tag?
Jo.se.
Jose,
I implemented my search as a search box in the masthead of my site
Our search form is embedded in the masthead of the site and hence shows-up on every page. I believe the r:search:form / tag is implemented as a behavior tag so we'd have to make every page part have the Search behavior if we wanted to use it.LorenĀ On Nov 8, 2006, at 7:50 AM, [EMAIL PROTECTED]
Loren,
Ok. I get it.
I've done it differently though.
I've set the r:search:form / inside the no-map content part of my
/search/ page (no-map is used to exclude pages from the Sitemap snippet).
And then, inside the header snippet, I've included the following code:
r:find url=/search/
Hi,
I've just installed Oliver's search_behavior via svn. However, I don't
understand how to implement it. Can somebody please provide a clearer
example on how to do this. I've copied and pasted Oliver's example in a
new page title search.
r:search:form /
hr /
r:search:empty
Ok I got it working I just didn't notice I had to set the search behavior
for the page.
jose.
Hi,
I've just installed Oliver's search_behavior via svn. However, I don't
understand how to implement it. Can somebody please provide a clearer
example on how to do this. I've copied and pasted
I also thought that it's a problem with the server setup but I can't troubleshoot it. Site5 hasn't answered yet :(2006/10/5, Alexander Horn [EMAIL PROTECTED]
: ./script/../config/../lib/inheritable_class_attributes.rb:51:in `inherited': undefined local variable or method `child' for
I installed the search behavior, ferret and acts_as_ferret but I can't get it to work on my shared host (Site5). It works fine on my mac, but when trying to launch script/server -e production I get this error on the shared host:
= Booting WEBrick...Load patches
./script/../config/../lib/inheritable_class_attributes.rb:51:in `inherited':
undefined local variable or method `child' for Behavior::Base:Class
I have never seen this error message before. It seems like you should
be able to check line 51 in the file
lib/inheritable_class_attributes.rb and