View more context

 

sutherlandesign

hi all, how to i enable the search in SilverStripe 4?

sutherlandesign

@heggsta i'm trying to find the right code for to enable the search in _config file, like for example FulltextSearchable::enable();, does this work on SS4? or has that changed?

heggsta

in one of your config (.yml) files:

  1. SilverStripe\CMS\Model\SiteTree:
  2. extensions:
  3. - SilverStripe\ORM\Search\FulltextSearchable
zanderwar

not exactly plug and play but useful if you want to search more than just Page and File

sutherlandesign

@heggsta have tired using the code you provided, getting error when dev/build, saying server error