Using silverstripe-linkfield with subsites
I have a silverstripe site with 6 subsites, and have used LinkField throughout for creating various links in banners etc, however the ‘Page on this site’ TreeDropdown shows all pages in the 6 sites, and I have tried various options but cannot get it to filter by subsite – any ideas?
Error, silverstripe/framework/sake: No such file or directory, happened when I am installing Silverstripe
I used Composer to create a Silverstripe project and configured the .env file.
However, when I tried to run “vendor/bin/sake dev/build” in the project directory. I got the error message below:
Filter by relation in ModelAdmin with getDefaultSearchContext
I have a modelAdmin which manages CustomerSignups. I’m trying to search for records filtering for EventDate and for the ExperiencePage. CustomerSignups has_one Event which has_one ExperiencePage. The ExperiencePage filter does not work at all.