functional on 3.1 ??
Closed this issue · 5 comments
tzeller commented
i am trying to get it run on SS 3.1 by
- creating a folder within versioned named _config
- included a new file extensions.yml
- added following lines in extensions.yml
ModelAdmin:
extensions:
['VersionedModelAdmin']
no success
Deleted user commented
I'm in the same boat, but I tried extending through mysite/_config.php
Object::add_extension("ModelAdmin", "VersionedModelAdmin");
Any chance you've worked with it in 3.1 yet?
icecaster commented
no, havent used it in ss 3.1 yet
but have a project coming up soon that will require it.
Will keep ya posted!
wakes commented
For 3.1 need to add allowed_actions from GridFieldDetailForm_ItemRequest to the VersionedGridFieldDetailForm_ItemRequest as they are now private.
So add
private static $allowed_actions = array(
'edit',
'view',
'ItemEditForm'
);
at top of VersionedGridFieldDetailForm_ItemRequest class.
icecaster commented
Will set this up as a separate branch.
Thanks!
icecaster commented
Hi there,
I've just pushed the fixed version for 3.1 into the master branch.
Cheers