Go to file
Ingo Schommer 1f0a78e57b FIX More context for GridFieldDataColumns callbacks
This emulates the callback signature from
GridFieldEditableColumns in the symbiote/silverstripe-gridfieldextensions module, which extends GridFieldDataColumns. In case canEdit() fails, this component passes control back to the parent (rendering a standard column content rather than a formfield). Which can become an issue if you've defined custom 'callback' handlers on setDisplayFields() - GridFieldDataColumns passes in only one arg (`$record`), while GridFieldEditableColumns passes in three (`$record`, `$col` and `$grid`).

While you could argue that this is a bug in the other module,
I think this additional context is beneficial for the main
GridFieldDataColumns use case as well, and it just happens to fix that bug.
2020-07-09 09:33:21 +12:00
.github Add action for netlify docs build 2019-11-20 16:26:13 +13:00
.tx remove js transifex 2017-04-28 14:59:42 +12:00
_config Unique key for DataObject (#9400) 2020-05-04 09:10:51 +12:00
client NEW add web accessible colours to web view dev/build 2017-07-18 22:00:35 +12:00
docs DOC Add details about ModelAdmin and Login Forms to 4.6 changelogs (#9525) 2020-07-08 13:29:27 +12:00
lang Update translations 2020-06-15 12:35:00 +12:00
src FIX More context for GridFieldDataColumns callbacks 2020-07-09 09:33:21 +12:00
templates Add "option" to list elements that belong to "listbox" 2020-03-10 11:10:04 -06:00
tests Merge branch '4.5' into 4 2020-05-26 14:31:06 +12:00
thirdparty Fix missing braces 2018-06-01 10:14:42 +12:00
.codecov.yml Turn off codecov commenting on PRs 2016-10-12 16:31:22 +01:00
.editorconfig Update composer.json 2017-10-12 11:53:12 +13:00
.gitattributes FIX Amend rules to ignore test files only 2017-12-20 11:13:07 +13:00
.gitignore Ignore assets dir that can be created on dev/build 2018-09-29 22:52:08 +01:00
.scrutinizer.yml Merge branch '4.0' into 4 2017-12-05 12:14:22 +00:00
.travis.yml Target 4.6 minor branches in build 2020-05-28 18:05:21 +12:00
.upgrade.yml Add missing upgrade rules for Email class 2019-08-29 09:10:03 +12:00
CONTRIBUTING.md Add copyright note to contributing.md 2016-05-30 14:32:19 +12:00
LICENSE Create licence file so that GitHub (and humans) can more easily find it 2018-02-12 11:21:03 +00:00
README.md META: add docs build badge 2020-04-20 20:51:15 +01:00
SUPPORT.md Support file grammer improvements 2018-03-27 11:49:04 +01:00
_config.php Bump deprecation to 4.0 in preparation for rc and stable tags 2017-08-29 15:02:36 +12:00
_register_database.php Use short array syntax across the framework's codebase 2020-05-16 10:34:45 +01:00
behat.yml add behat.yml back, pathed to admin 2019-02-01 15:56:29 +13:00
cli-script.php API Refactor bootstrap, request handling 2017-06-22 22:50:45 +12:00
composer.json Include phpcs as a dev dependency 2020-04-02 12:06:40 +01:00
phpcs.xml.dist Update linting rules to force short array syntax 2020-04-20 18:51:13 +01:00
phpunit.xml.dist Actually run CMS tests 2018-02-08 10:32:56 +00:00
sake BUG Ensure sake works when called from any directory 2017-10-17 13:52:39 +13:00
silverstripe_version API CHANGE silverstripe_version file now contains the plain version number, rather than an SVN path 2012-02-01 18:42:21 +01:00

README.md

SilverStripe Framework

Build Status Build Docs Latest Stable Version Latest Unstable Version codecov SilverStripe supported module Total Downloads License

PHP framework forming the base for the SilverStripe CMS (https://silverstripe.org). Requires a silverstripe-installer base project. Typically used alongside the cms module.

Installation

See installation on different platforms, and installation from source.

Bugtracker

Bugs are tracked on github.com. Please read our issue reporting guidelines.

Development and Contribution

If you would like to make changes to the SilverStripe core codebase, we have an extensive guide to contributing code.

Attribution