Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I'm fairly new to SilverStripe, so I'm still getting to grips with it.
I have setup a datagrid / gridfield and find it annoying that when you save, you cannot go straight to add another item. Is there a way to add a button next to 'Create' and 'Cancel' which could say 'Create and add another' which saves the current item, and takes you back to a new form to add another item?
This would be a great feature as adding items to the gridfield seems to be so long winded.
Thanks in advance for any help...
Hey there, welcome to SilverStripe - currently this isn't built in but I think it's a good idea. I have raised it as an enhancement ticket on the core dev site
If you feel like diving in and building it then that would be more than welcome!
I am having the same problems.
Is there a way to have two buttons:
1. save and go back to datagrid
2. save and leave on this page
same here. Has anybody a solution for that?
I'm not having any joy with the better buttons module and wonder if anyone can point out where I'm going wrong?
I've downloaded the zip file from
https://github.com/unclecheese/silverstripe-gridfield-betterbuttons and unpacked it into its own 'betterbuttons' directory. ran /dev/build and ?flush=all without error, but no new buttons are turning up on my add or edit pages for gridfield records.
I'm running the site in dev mode, but no error messages are showing up on the screen or in the error log file.
Should I be adding any code to the gridfield config with addComponent?
botheredbybees any luck resolving this? having the same issue.
nope, I've had to shelve this one and go back to Silverstripe's default record adding clickfest