I’m writing a custom gridfield Add new button component. I have an error that the template can’t be found.
PHP Warning: None of the following templates could be found: GridFieldSiteTreeAddNewButton in themes "Array\n(\n  => silverstripe/admin:cms-forms\n  => $default\n)\n" in /var/www/oirlib-develop/silverstripe/vendor/silverstripe/framework/src/View/SSViewer.php on line 215, referer: http://dev.local/admin/pages/edit/show/6
I’ve tried putting the template files in various different directories, but I can’t seem to find the right place for CMS/admin templates.
Can anybody suggest where these template files should go?