Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Site search module

Go to End

6 Posts   3598 Views


Community Member, 3 Posts

28 August 2008 at 5:11pm


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.


Community Member, 135 Posts

28 August 2008 at 5:20pm

There's a Google search widget.

That might help you.


Community Member, 470 Posts

28 August 2008 at 5:21pm

There is no module, at least I don't think, so you have to follow the tutorial -

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.


Community Member, 3 Posts

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?


Community Member, 470 Posts

29 August 2008 at 3:15am

Most likely, yes.

This page helps describe how to limit search results in the section near the bottom -

Might be a good start.


Community Member, 8 Posts

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

please suggest me to execute search stuff.

Thanking you.