Hey guys. I've been using ModelAdmin for most of my modules, and it have worked out great until now since all of my modules worked with lists/multiple records.
Now I kind of need to let admins set some settings backend, and therefor I don't need a list/multiple records. I just need a single record. I want to do exactly the same as the "Settings" tab backend in Silverstripe looks like.
How can I do this? I was wondering if there was some other approach than using ModelAdmin, or if I have to modify it to get what I want.
Where I've done this in the past I've restricted permissions so the the record cannot be created or deleted.
Also reduce the search for (so people don't think of it like other records).
Using requireDefaultRecords to create one on dev/build if it doesn't exist.
My model admin auto searches so the only issue it that they still need to click on the record to edit it.