Question

I'm configuring a DotNetNuke v7+ portal and wish to add a module that will be configurable by editors. The editor should be shown a configuration panel with a single text control and an update button.

The value of this control will be passed to the public web view within a piece of javascript code, similar to passing a tracking ID to Google Analytic Script.

I've looked at the Google Analytics module and understand how to handle the text control and update, but the innards are all wrapped up inside a DLL so I can't work out how to handle the public facing display.

Can this all be done within a single module, or do I also need to create a settings.aspx file?

Was it helpful?

Solution

Fortunately Dnn is open source, so it's just a matter of finding the right file to see the example. In this case, check out here

https://github.com/dnnsoftware/Dnn.Platform/tree/012dcf82ea23ebfa2f8484f369b0d15f3c5f7590/Website/DesktopModules/Admin/Analytics

You don't need a separate control for this. You can do it within a settings control.

If you're new to Dnn Module Development, I strongly recommend checking out Christoc's Templates. They have examples and patterns for common Dnn module requirements.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top