Jump to:

23477 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Changing the default search form in SS3

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: 352 Views
  • Spaghetti
    Community Member
    31 Posts

    Changing the default search form in SS3 Link to this post

    I want to change the text on the search button ('Go') which is created in ContentControllerSearchExtension.php in the function SearchForm().

    My question is how do I override this in the code in mysite/Page.php (and I also have a sub-page type), rather than recompiling the whole cms - is that possible or am I missing a trick (is there a smarter way to do this)?


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.