Delete entries linked with Selectbox Link
This is an open discussion with 3 replies, filed under General.
Search
Make an extension an subscribe to EntryPreDelete and EntryPostDelete delegate.
In EntryPreDelete
you retain the Images
that should be deleted.
In EntryPostDelete
you delete them (this way you're making sure the Gallery
entry has been deleted).
How do i grab the Images? EntryManager? My php knowledge is too poor, but iI'll study some extensions and try it. Thanks!
SymQL is your friend.
Create an account or sign in to comment.
I'm creating a photo gallery organized by categories. One section for categories and another section for the photos (linking the categories with a SBL).
When a category is deleted, the photos SBL field goes empty, but the entry remains. How can my client delete a category and the related photos at the same time?