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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Problem with Site Search from Tutorial 4


4 Posts   1581 Views


14 January 2009 at 3:16pm Community Member, 50 Posts

I have worked through Tutorial 4 and have successfully got the search dialog box to appear. However when I enter a search string and press the button no resulsts are returned and no errors appear. The title for the page has changed to "Search Results but it is still on the page that the search was executed from. The page has however lost everything except the basic text that was entered through the CMS.

It seems to me that the form is not being found and it is reverting to a very basic form of Help would really be appreciated. I do not want to proceed further with the tutorials until I have sorted this out


14 January 2009 at 5:02pm Forum Moderator, 5511 Posts

make sure you have put in the correct place (in 2.2.3 it would be tutorial/templates/Layout/, in 2.3 you would need to have it in themes/tutorial/templates/Layout/).

Also post your Page.php code (via


14 January 2009 at 6:15pm Community Member, 50 Posts

I'm running 2.2.2 will this be a problem? I have created my own theme and have been doing all the tutorial work under this so currently page_results is in \themes\miketest\templates\layout. Is this OK?

I'm afraid you have lost me with I have never used this. What do I have to do to use

Attached is a copy of page.php if that is of any help


7 March 2009 at 8:40am Community Member, 44 Posts

I have a Problem too.

I add all Files to the Folders, but i receive nothing. No Error, No Result.

I typed "Asdf" at the Top of to see i the Site is beinng loaded, but there is no "Asdf" shown.

What could be wrong?