340 Posts in 140 Topics by 176 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 816 Views |
-
Search

12 April 2011 at 12:08am
I'm having a problem with the search, I don't know weather the answer for my question exist or not, But my question is :
This is regarding Search in silverstripe all Versions :
Case 1 : The normal function of search : If we enter some query and click search, then the search would obviously search for the answer to the query asked by the user and displays it.
Case 2 : If we enter nothing in the search field and click on the search button, Now the search is listing the entire content from the website.
My Question is : How can we display an error message stating some message. May be " Your search did not match anything in this website " The point is that, I need an error message, when the user doesn't input a query and clicks Search.
Thank You
Storm Striker Sumesh -
Re: Search

12 April 2011 at 12:26am
Hi Storm Striker,
this isn't really the place to post your question - it's really about people making connections - jobs, meetups, etc.
I'd advise you read over the docs (http://doc.silverstripe.org/sapphire/en/tutorials/4-site-search) and then post in the general questions if still stuck.
| 816 Views | ||
|
Page:
1
|
Go to Top |


