17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2869 Views |
-
Site search module

28 August 2008 at 5:11pm
Hi,
I want to enable search on a silverstripe site. What is the best way to do that? I tried googling a bit, and found some information about a SilverStripe Search module, but I can't find it.
-
Re: Site search module

28 August 2008 at 5:20pm
There's a Google search widget.
http://silverstripe.com/google-custom-search-widget/
That might help you.
-
Re: Site search module

28 August 2008 at 5:21pm
There is no module, at least I don't think, so you have to follow the tutorial - http://doc.silverstripe.com/doku.php?id=tutorial:4-site-search
Looks like a lot of work, but it's not. Mainly just copy and pasting things. You can search the docs for more info on making a bit more advance if need be.
I also believe in the future it will come bundled with SS.
-
Re: Site search module

28 August 2008 at 5:50pm
Thanks for the suggestions! I guess I can use the site search from the tutorial to start with.
I'm going to build a site where users must log on for additional access, and I want that to be searchable as well. By the same token, users that aren't logged in shouldn't be able to search content they don't have access to. What would be the correct way to do that? Filter relevant results out from $form->getResults() before displaying anything?
-
Re: Site search module

29 August 2008 at 3:15am
Most likely, yes.
This page helps describe how to limit search results in the section near the bottom - http://doc.silverstripe.com/doku.php?id=recipes:simplesearch
Might be a good start.
-
Re: Site search module

5 September 2008 at 10:47pm
Hi All ,
I m trying for search from tutorial 4 but it unable to show me any search , not even displaying me any html content on header from Page.ssplease suggest me to execute search stuff.
Thanking you.
| 2869 Views | ||
|
Page:
1
|
Go to Top |




