Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Capture the Module Delete EventCapture the Module Delete Event
Previous
 
Next
New Post
5/14/2009 9:29 PM
 

When you delete a module from a page either through the module settings or the drop menu, is there a way for the module to catch this event and then run some code prior to the delete (and same with the restore if someone restores from the recycle bin)?  I am looking for something similar to how you can capture the update and load events in the module settings.


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
5/15/2009 12:50 AM
 

No there isn't.  DNN would beneift greatly if there were system events for :

new page creation/deletion

new module instance creation / removal / deletion

new user creation / deletion

By event I mean some sort of system callback that you could subscribe your module to.  So when the event happened, you could have your module respond to that event.  Sort of the the IMC in a way, but different.

This would greatly improve module developers ability to do things in response to user actions in the core.  It would probably need to be multi-threaded so that a badly performing module would not grind the system to a halt if they took too long to respond from an event.  But the idea would help.

To solve your problem, there is one way to do it : database trigger on the Module table.  But you *shouldn't* be putting triggers on the core tables.

 
New Post
5/15/2009 3:38 AM
 

Bruce,

Thanks for the ideas, please log enhancement suggestions into the public issue tracker at support.dotnetnuke.com.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/18/2009 12:17 AM
 

I think i need to flesh out the idea more, and get my head across traps and problems, but I've had the basic idea for a while.   I'll experiment around a little, and if I come up with something solid I'll log it in Gemini.

 
New Post
5/18/2009 2:16 AM
 

 That sounds great, thank you, I look forward to your sbmission :)


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Capture the Module Delete EventCapture the Module Delete Event


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out