Jump to:

382 Posts in 210 Topics by 196 members

Connect With Other SilverStripe Members

SilverStripe Forums » Connect With Other SilverStripe Members » Search

For all SilverStripe-related topics that don't fit into any of the categories above.

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

Page: 1
Go to End
Author Topic: 971 Views
  • Storm Striker
    Avatar
    Community Member
    6 Posts

    Search Link to this post

    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

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: Search Link to this post

    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.

  • Storm Striker
    Avatar
    Community Member
    6 Posts

    Re: Search Link to this post

    Oh Sorry......

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: Search Link to this post

    no worries - I advise it just to get you an answer asap

    971 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.