Jump to:

22977 Posts in 11806 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Multi language CMS - Searchbox not working - SS 2.4.2

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: 749 Views
  • borriej
    Avatar
    Community Member
    267 Posts

    Multi language CMS - Searchbox not working - SS 2.4.2 Link to this post

    Hi All!

    I got multi languages installed and enabled searching in the _config:

    // Enable multi language
    Translatable::enable();

    // Set the site locale
    i18n::set_locale('en_US');

    // ENABLE SEARCH BOX
    FulltextSearchable::enable();

    Created the Page_result.ss in the layout folder..

    Added $Form and $Search inside the page.ss

    But when i use my searchbox... For example 'Text' ... Search

    I only see the Title 'Search results'
    and beneath that, I see the Content of Page.ss

    So what is going wrong here?

    Is it because of the multiple languages?

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