DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Identify Tab/Page changes for the HTML Module content

 5 Replies
 1 Subscribed to this topic
 30 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 19
New Around Here
New Poster
New Poster
Congrats on posting!

Hello team,

We have a web site based on DNN framework. We have a requirement that when ever DNN tabs/pages are modified or added by content team, we need to pick the content which was updated or added for logging purpose. Is there any event in framework which allows to keep tap on tab/page changes, Html Module update/added changes? 

I see two event log types like - TAB_UPDATED,TABMODULE_UPDATED, but not sure if they will get logged when content is updated. Please advise if you have any other suggestion in the framework which can help for this requirement.

Thanks and Regards,

Alok

Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

This should probably help you if you know how to write code for it: https://docs.dnncommunity...nt-system/index.html

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

Agreed with the guidance given by Timo.  

However, if you're concerned about the content updates coming from anyone, I'd be concerned about giving them a login to begin with.  I hope you have a training program of some kind.  🫣 

To help with this scenario, we have a cool feature in the Upendo DNN Promp suite of commands that implements & enforces a slightly lower content editing level across a DNN site.  This may not be a direct comparison to your use case, but it could be another way to programmatically respond to the need you've posted about.  

New Around Here
Posts: 19
New Around Here
New Poster
New Poster
Congrats on posting!

Thanks Timo and Will. Will try yo use the method suggested.

Regards,

Alok

New Around Here
Posts: 19
New Around Here
New Poster
New Poster
Congrats on posting!

However I have a query I can class in DNN code at following path:

DNN Platform/Library/Entities/EventManager.cs

Is it possible that I extend the class in our application and override for events for which we need changes. And add this implementation in configuration to use it as  dependency injection for IEventManager interface. I am assuming that EventManager.cs is the concrete implementation for all DNN events. 

Please advise.

Regards,

Alok

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

Without confirming what events you might use for this (assuming the right ones exist), you could do it this way.  But, I could see this being a very messy way to do it - from a UX perspective.  🤔 

You're better off implementing a lower level set of permissions, which will enforce fewer abilities for your content editing team in general.  It could also allow you to assign a different toolbar in the HTML editor.  This would be far easier for you to enfore and maintain, without annoying/confusing your end users. 

That, and having a short PowerPoint slide deck to tell them what they should be doing and how you expect them to do it, with screenshots.  

This has always been all that's been necessary for me.  🤷🏽‍♂️

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved