View more context

 

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
Firesphere

Please put your site in dev mode, because just "Server error" is not really helpful