This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi, I come up with my next Question to the Builder Plugin. How do I implement the possibility to delete particular records within my plugin? Do I have to do it manually in the file or is it possible to do it within the Builder GUI? Thanks in advance
Hi Boris
I've just come to this issue myself.
The solution is neat -- it's there but you have to look.
There is no batch delete. But you can delete one record at a time:
Click on a record. You are now in the edit page. Look to the very bottom right. You'll see a grey bin symbol -- placed just where it should be: as far away from a mistaken click as possible :)
There is a batch-delete option. Check RainLab.Blog and its categories controller with its associated partial. I think, this behavior is also built-in into the newest build of October.
PS: The function you can search for in any file of October is index_onDelete
.
1-3 of 3