Reputation: 17530
I would like to create a module that has some behind the scene custom javascript embedded into the header section of the page. A div box that the javascript populate. (I was thinking of some google chart/map example).
My problem is that the guides i find, seem to expect somewhat abit of knowledge of creating modules and such and im all new to it, so hoping someone here could outline the steps i need or the guides that really covers this from bottom, not just the first google results as I have been over them and still havent made my lille sample module.
A module with a red div box, where some javascript from the header section adds some text to the div box will be a good example for me to learn from.
Hope someone can point me in the right direction.
First step.
I managed to get a local site running, creating a sample module and adding hello world to the view. 10min by selecting the webmatrix install for dnn installing and setting all the site hosting up and running and install of dnn into a sql mdl express file vent without any errors.
Second step
How to add some javascript to the header of the page whenever the module is loaded.
How to do a package like the blog module, that add multiply module/controllers to a page. Thinking of having a main module that shows a google map, and a controller module that have some actions/settings that will trigger stuff on the map.
Upvotes: 1
Views: 761
Reputation: 8943
To get started with module development I recommend checking out the Wiki page on Module Development
http://www.dotnetnuke.com/Resources/Wiki/Page/Module-Development.aspx
Also check out my module development templates for Visual Studio http://christoctemplate.codeplex.com/
update: To utilize the JS/CSS inclusion features in DNN 6.1+ check out this wiki entry http://www.dotnetnuke.com/Resources/Wiki/Page/Client-Resource-Management-API.aspx
Upvotes: 1