Dave Toews

I can put the exact same GridField code in SiteConfig via an extension, for example and it works because as a DataObject SiteConfig has a save button which also saves the related objects in the GridField, but there's no such feature on the ModelAdmin .

Dave Toews

Is there a simple way to add a "Save" button to a ModelAdmin? I'm trying to simplify the CMS by using GridFieldEditableColumns so my single field model can be edited inline, but though this works great when those models are edited on a parent DataObject there's no way to save the object data in the ModelAdmin.

Dave Toews

Anyone know of an SS4 module that could be used to generate multiple video formats from a single uploaded file? Found this one, but it looks like its SS3 and not installable via composer. https://github.com/smindel/silverstripe-video

Show 1 attachment(s)
GitHub  
smindel/silverstripe-video

Adds a video as a file type, creates mp4, webm, and ogv versions and a poster of the video through ffmpeg - smindel/silverstripe-video

Hide attachment content
Dave Toews

Can anyone recommend a sortable Upload Field for SS4? Looking at this one, but not sure what else is out there. https://github.com/solnet-aquarium/silverstripe-sortableuploadfield

Show 1 attachment(s)
GitHub  
solnet-aquarium/silverstripe-sortableuploadfield

A subclass of UploadField that makes files sortable. To be tested/documented - solnet-aquarium/silverstripe-sortableuploadfield

Hide attachment content
Dave Toews

Good to know. The SS3 screenshot and tags had me wondering how current it is. Thanks.

Dave Toews

Or maybe I don't need a module, but just a handy pattern for pointing a GridField at a has_one relationship?

Dave Toews

Can anyone recommend me an up-to-date (SS4) module for a field that manages has_one records? Preferably something where I can edit inline w/o jumping to another edit screen. Looking at a few modules but they all have sparse docs and/or look out of date.

https://github.com/satrun77/silverstripe-hasoneselector https://github.com/silvershop/silverstripe-hasonefield https://github.com/stevie-mayhew/hasoneedit

Show 6 attachment(s)
GitHub  
satrun77/silverstripe-hasoneselector

HasOneSelector is a module that provides CMS field to manage data object defined in a has_one relation. - satrun77/silverstripe-hasoneselector

GitHub  
silvershop/silverstripe-hasonefield

Edit a has_one relationship using the gridfield editor, triggered by clicking a button. - silvershop/silverstripe-hasonefield

GitHub  
stevie-mayhew/hasoneedit

Allows editing the fields of a has_one object directly in the CMS - stevie-mayhew/hasoneedit

GitHub  
silvershop/silverstripe-hasonefield

Edit a has_one relationship using the gridfield editor, triggered by clicking a button. - silvershop/silverstripe-hasonefield

GitHub  
stevie-mayhew/hasoneedit

Allows editing the fields of a has_one object directly in the CMS - stevie-mayhew/hasoneedit

GitHub  
stevie-mayhew/hasoneedit

Allows editing the fields of a has_one object directly in the CMS - stevie-mayhew/hasoneedit

Hide attachment content