7937 Posts in 1537 Topics by 944 members
|Go to End|
27 May 2011 at 6:34pm
I've tried almost everything, nothing worked to me.
I'm testing a site on xampp (apache 2.2.14, php 5.3.1 and mysql 5.1.41) and surprise!!! SilverStripe does not do searchs on DataObjects!!!!
I've managed to create a document manager, multiple files on same DataObject (pdf, images, etc), I got all these working, but can't make any search on summary Text field.
I need some clue on how to do it!! please!!
31 May 2011 at 3:26pm
There are a number of ways to do it -- the Sphinx module, Lucene module. I prefer to just use Google search. You're not going to beat their search algorithms. You have to pay a nominal fee if you want to skin it, but it's worth it for the search power.
Here's an example of a site that's built out with all dataobjects, and you can see we use Google for the global search function.
18 September 2011 at 9:24pm
Hi Uncle Cheese
Nice work with the Custom Google Search
I am testing integration of a custom Google search and can do so with results be shown on the same page as the KW input search field
(by extending a page type)
What method are you using to have the search input form available on all pages and output to a separate search results page?
19 September 2011 at 2:00pm
It's a trick. Look closely.. the search form goes to a custom page type, with the query in the URL, and that page has an inline script that just runs the google search asynchronously.
Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com
1 April 2012 at 10:25pm
An alternative to Google : a widget proposed by Exalead (http://www.exalead.com/search/widgets/search/generate/)
You can test it on one of my websites if you like : http://anafin.fr/
Just one drawback : you can't customize the results page. But it's free and it works very well !
|Go to Top|