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

Search Feature Help


Reply


2 Posts   792 Views

Avatar
doliner

Community Member, 4 Posts

16 July 2009 at 4:13am

Edited: 16/07/2009 6:06am

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?

Avatar
Juanitou

Community Member, 323 Posts

19 July 2009 at 12:50am

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