Jump to:

23454 Posts in 18904 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Search Feature Help

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

Page: 1
Go to End
Author Topic: 741 Views
  • doliner
    Avatar
    Community Member
    4 Posts

    Search Feature Help Link to this post

    I have a site who's homepage is the Blog module, and if I do a search off the home page I get this:

    "Action 'SearchForm' isn't allowed on class BlogHolder_Controller"

    Is there anyway I can get around this as I would like for my users to be able to search off the home page?

  • Juanitou
    Avatar
    Community Member
    323 Posts

    Re: Search Feature Help Link to this post

    Hi doliner.

    Follow the error: you need to add the action 'SearchForm' to your controller. There's a list of allowed actions in an array of the same name.

    Regards,
    Juan

    741 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.