As a custom component I don't think you can use any of the System Events to trigger your plugin (like you could for saving a resource or chunk). You would probably have to find Gallery's 'create' and 'update' processors and add your code in there.
But it depends what you want to achieve... want to share some details?
onGalleryFormSave
I want to delete the custom full page cache pages for every resource that has the saved album selected.
Not a difficult task, but would be nice without being able to modify the gallery component.
[ed. note: MODXsammy last edited this post 15 years, 1 month ago.]