I created button for delete rows from Table View but it don't work. I think to have to add a Delete condition, but I don't know what insert.
I saw all demos but there isn't a example.
This is my configuration.
Views > Toolbar Button > Name: delete_selected_button > Event: delete_selected
Event delete selected > {fn:delete_orders_group} {success:articles deleted} {redirect:index}
Functions > Delete Data > Name: delete_orders_group > Delete conditions \ > Protect against full deletion checked
I saw all demos but there isn't a example.
This is my configuration.
Views > Toolbar Button > Name: delete_selected_button > Event: delete_selected
Event delete selected > {fn:delete_orders_group} {success:articles deleted} {redirect:index}
Functions > Delete Data > Name: delete_orders_group > Delete conditions \ > Protect against full deletion checked
There is a demo, dynamic actions should include a delete button.
Make sure you're giving it an ID to delete
Make sure you're giving it an ID to delete
delete button in demo is only for a row, I need for SELECTED articles, I tried to insert this condition - id/in:{data:gcb} (similar to publish_group function), but not work.
Is your select box called gcb? What does debug show?
Sorry, If I insert id/in:{data:gcb} in conditions? I've error: 1054Unknown column 'id' in 'where clause'
That tells me your ID column isn't called ID
This topic is locked and no more replies can be posted.