21298 Posts in 5735 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2141 Views |
-
Custom Search

5 June 2009 at 3:36am
I have extended a cms page with four fields and finding its difficult to create a custom search which only searches these fields. Does any have any ideas or examples of a simple and easy implementation of a custom search?
Thanks in advance
Alan
-
Re: Custom Search

5 June 2009 at 4:05pm Last edited: 5 June 2009 4:05pm
Have a look at search contexts:
-
Re: Custom Search

28 July 2009 at 8:34pm Last edited: 28 July 2009 8:34pm
With regards to http://doc.silverstripe.org/doku.php?id=searchcontext:
Is there a way to set up SearchContext to search through more than one attribute, but WITHOUT creating a search field for every searchable attribute in the searchform. I would like to have just one search form input field that searches through 3 attributes using the SearchContext functionality.
Happy to hear!
-
Re: Custom Search

17 September 2009 at 6:50pm
Hi klikhier,
Just wondering if you figured this out ?
Cheers
Robin
-
Re: Custom Search

17 September 2009 at 10:58pm
Hi,
Actually thought more about what I'm trying to do and what you might want to do as well and I think more standard DataObject search is the way to go. SearchContext is easy but doesn't seem that flexible
Cheers
Robin
| 2141 Views | ||
|
Page:
1
|
Go to Top |




