Last post Jan 09, 2006 07:48 PM by Stranger
Dec 18, 2005 11:55 PM|Stranger|LINK
I am having trouble locating the source code for the core desktop modules. I have downloaded all the source versions of dnn and also tried the specific project source versions to no avail.
I am relatively new to dnn (started on version 3.0.13 in Sep 2005). This version included source for the core desktop modules but i have been unable to locate it in the newer releases. I have found the core modules an invaluable reference for develping my
own modules and am wondering if it will be included in future updates or perhaps on a project by project basis.
Any help on this would be appreciated.
Jan 08, 2006 09:29 AM|JohnStodd|LINK
Did you solve this one? I am asking the same question!
Jan 08, 2006 11:01 AM|hooligannes97|LINK
Module's source files are visible when install DNN. If you want to access them without installing DNN (Can't really imagine why), unzip the file and go to the Install/Module directory. Make sure you read the documentation files available at DNN.com
Jan 08, 2006 02:38 PM|JohnStodd|LINK
Sorry, but I dont agree with you, there is confusion. I believe the original poster wanted to view the codebehind files of Events, FAQs, etc, and these used to be in the source zip, but they are no longer there in 4.0.2 source, they have been moved to separate
I think you now need to go to the Projects dir for the Events module, download the w/source zip, login as host, go to the Modules Definition page, choose Upload New Module, browse to the downloaded events/w/source zip and add it.
Jan 08, 2006 05:50 PM|Stranger|LINK
Yes john thats pretty much it.
I can't find the code behind for the core modules eg Contacts, Events. To confirm i just downloaded the "Contacts_3.1_Source.zip" and "Events_3.1_Source.zip" from the projects section of the DotNetNuke website and it still does not include the code. (.vb
Any clues would be appreciated.
Jan 09, 2006 04:35 AM|JohnStodd|LINK
I also tried with Events_3_1_source.zip, and found, like you, that the codebehind files are not there. But they ARE! They are zipped up in a file without a zip extension, so are easily overlooked. If you login as host, goto module definitions and choose
upload new module, you can browse to your zip file, upload it, and magically, the .vb files are installed.
But I did this with DNN 4.0.2, and found that the Events_source file unpacks in DNN 3 format, which is suitable for .NET 1.1 but NOT for .NET 2.0.
From this exercise, I dont believe the Events, Links or other "core" modules are yet packaged as .NET 2.0 modules. Perhaps a core team member could confirm this?
So if you are using VS2005 and .NET 2.0 you can SEE the .vb files with this method, but you cant USE them!!
I find DNN very promising, but the documentation always lags miles behind the code.
Jan 09, 2006 10:00 AM|hooligannes97|LINK
That is correct, DNN 4 includes only install versions. I am sorry for misleading you, I "talked" from memory. Until ASPNET 2 has a Service release and the DNN 4 is more stable, I prefer running the DNN3.2.2 version, which works in the way I described.
The projects for each module have the respective source download, I believe they have not been ported to .NET 2.0 yet, so you will need to do it yourself. Shaun Walker wrote an article about it which is pinned to the general forum here at
Jan 09, 2006 07:48 PM|Stranger|LINK
Thats just what i needed. The source versions of the modules are contained in the source download of DNN 3.2 in the /install/module directory. I didn't bother installing them because i figured they were already installed. I didn't think of the resource files.