-
☆ A M B ☆
- 24,524 Posts
Is there documentation somewhere on using system events in snippets?
-
☆ A M B ☆
- 24,524 Posts
Thanks; I was just wondering if maybe there were any restrictions or special handling required for invoking any of the events. I have in mind modifying the Gallery upload functionality to invoke the OnFileManagerUpload event so that there can be a plugin to do custom image manipulation on upload, but it's not using the file manager so I'm not sure if it can be invoked by a snippet.
Perhaps it would be better to have its own event, and register it on installation? I knew how to do that with Evo (WebLoginPE did that), but not with Revo.
-
☆ A M B ☆
- 24,524 Posts
Thank you! That's a bit rich for me to digest right now, but I'm sure if I look at it for a few days (or weeks or months...) I'll figure it out. I'm still trying to figure out how to package up a template with MyComponent. Well, and how to use PhpStorm properly as well.
If you're using MyComponent 3.0, it will create the new System Event(s) for you.