I want to use the AdvancedSearchForm but am having some difficulties implementing it. Are there any tips for setting this up? I see in the code for the Advanced form that I can limit the results to a particular section of the site. I'm keen on implementing this particular feature. Thanks.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Mainly looking for a pointer with the controller code. I see the Advanced form is used here: http://www.fishersfinearts.co.nz/
Thanks.
Fishers Fine Arts runs on SilverStripe 1, which is a totally different codebase.
The AdvancedSearchForm is really "alpha" code; it hasn't been used on our sites for a while.
If I get the time I'll look into it some more as I see the function is in the "alpha" code already to restrict the search to a section. Whether it actually works or not may be another story. Thanks for the feedback though Sam.