silverstripe-gridfield-betterbuttons icon indicating copy to clipboard operation
silverstripe-gridfield-betterbuttons copied to clipboard

Adds new form actions and buttons to the GridField detail form

Results 64 silverstripe-gridfield-betterbuttons issues
Sort by recently updated
recently updated
newest added

This seems to be due to better buttons - see https://github.com/silverstripe/silverstripe-userforms/issues/805

Currently, when you click a button under the "Versioned" group of buttons, you get absolutely no feedback at all, **even though** it _actually is_ doing something. ![2018-11-09_21-52-17](https://user-images.githubusercontent.com/4269377/48297990-efc27e00-e469-11e8-9e94-e3d7d8ebecd8.gif) **Expected result:** As...

SilverStripe\ORM\Versioning\Versioned has moved to SilverStripe\Versioned\Versioned. DataModel has been removed from SS4.

Example code: ``` public function getBetterButtonsActions() { $fields = parent::getBetterButtonsActions(); $my_action = BetterButtonCustomAction::create('MyAction', 'My Action'); $my_action = $my_action->performDisabledTransformation(); $fields->push($my_action); return $fields; } ``` The button appears to be still clickable....

Various critical and non critical fixes for ss4.1

So I use a BetterButtonNestedForm and when I open it via a button, make some changes to the field values and submit the form, my custom action gets executed correctly...

![image](https://user-images.githubusercontent.com/167154/42544021-e06f2ef6-8502-11e8-9bff-efaa2f428c49.png) We are using SS4.1.1 AFAIK and 2.x-dev

In a normal data object one can have a function such as: ```php public function getBetterButtonsActions() { return FieldList::create(); } ``` to clear all action buttons in the grid field...

SilverStripe 4.1 seems to want javascript/css to live in resources/betterbuttons (fysically public/resources/betterbuttons), unless the path is set from the site root, ~~so this seems to fix that:~~ ~~_config.php~~ ~~use \SilverStripe\Control\Director;~~...