Hello everyone, in a cutom module, is there a way to intercept the deletion event of a module from the page? I need it, in case of deletion (also in sharing mode), to know when I have to clean up the related data.
S.
Well - I don't know. But I know there was a discussion about triggering events like adding, changing and deleting module instances to/on/from a page some years ago, but I don't remember that this has been implemented (but maybe I just missed it).
What is your exact usecase? If you really need that, just try to open an issue (Issues · dnnsoftware/Dnn.Platform) - and if you are ready to sponsor that feature, chances are good that someone will implement it... Or you implement it yourself (if you have the programming skills) and start a pull request...
Happy DNNing! Michael
Have a look at this: https://docs.dnncommunity...nt-system/index.html
Thanks! IModuleEventHandler is the answer!
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.