-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Settings or History tabs #65
Comments
@dawb I've had this problem myself and there is not a simple setting that can be changed. There's a few different things that need to be tweaked to get those tabs back. The ModelAdmin area needs to load the Versioned javascript.You can accomplish that with a config change:
The GridField needs a different configurationI extended the Catalog Admin and borrowed from the LumberJack module to create the GridField https://github.com/silverstripe/silverstripe-lumberjack My subclass also needs GridFieldExtensions https://github.com/symbiote/silverstripe-gridfieldextensions Add the class below to your project and extend it for your ModelAdmin instead of
Templates need to be modified
|
Another possible solution: I pulled this from a thread on this topic in the SilverStripe Slack. I haven't tried this but it was suggested by another user. Create a custom GridField edit button:
Use the custom button to modify the GridField in your ModelAdmin
|
When editing a page via the modeladmin it doesn't display the standard Content, Settings and History tabs that appear when editing a page within the sitetree.
Is there a setting that can be enabled to display these or is there a template removing these from displaying?
Thanks
The text was updated successfully, but these errors were encountered: