View more context

 

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

heggsta

hmmm... I didn't do anything other than restrict the searchable classes by adding FulltextSearchable::enable([SiteTree::class]); (with the appropriate use statements before it) to _config.php... but I thought it would work without that

sutherlandesign

@heggsta here's the error message after did the dev/build

Files: Requires logging in with Slack to view/download
Screen Shot 2018-04-26 at 17.53.01-fullpage.png