Has anyone used SimpleSearch’s customPackages prop in modx3? I can’t get fully qualified class names to work, and I’m a little confused how it works at all, looking at the source here.
I have this in the customPackages
prop:
FileMan\Model\File:name,description:fileman:{core_path}components/fileman/model/:FileMan\Model\File.resource_id = modResource.id
I have also tried
FileMan\\Model\\File:name,description:fileman:{core_path}components/fileman/src/Model/:FileMan\\Model\\File.resource_id = MODX\Revolution\modResource.id
, which works a bit better - but it’s throwing Cannot declare class FileMan\Model\File, because the name is already in use in /www/core/components/fileman/src/Model/File.php on line 17
.