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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...my dnn site source codemy dnn site source code
Previous
 
Next
New Post
4/27/2008 8:21 AM
 

    I have developed my entire dot net nuke website online using various modules. The website is for a project and with the project i must submit all of the source code explaining which parts do what. How can i view the entire source code for each page or module so i can copy it into my report. Do I have to do this offline (eg. download the site to visual web developer), because i have done that but am, cannot seem to find any of the code for my site.
Any help would be so greatly appreciated, im nearing my deadline and really panicking!
Thanks
            Sam

 
New Post
4/27/2008 9:18 AM
 

which source code are you referring to - HTML or VB.net? Framework and Core Module source code can be downloaded separately, but I don't see any value for your report, as it has not been your part of the project. if you created you own skin, you can include HTML or ASCX source code files. If you used Text/HTML module, you can go to edit and use source view to copy HTML source. For other modules, page and module settings, the only source might be a screenshop of the data edit form.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/27/2008 9:37 AM
 

Hi Sam,

Look under the "Downloads" icon at the top of the page.  If you download the source release of DotNetNuke, you'll find the source code for the framework components in the Library subdirectory.  The UI components are located in the Website directory; it's up to you to decide if the .aspx markup consititutes "code," or just to include the .vb files.

Links to core module source packages are also availabe on this page.  To save yourself a few clicks, make sure to click on the disk icon when downloading.  You'll be looking at all .vb files within the zip, and again it's up to your requirements whether to include the .ascx files.

Finally, you'll need to contact the developers of all third-party modules which you may have used.  Some will release their source for a fee, but you'll find that a hit-or-miss proposition. 

Hope this gets you started!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
4/27/2008 9:46 AM
 

Thanks for the reply.

I was kinda hoping that i would be able to view the code for each "page" in the site and that all html and vb etc would be together, It seems that must not be the case and i suppose my ignorance on the subject has me a little confused. I wanted the source so that i could try and discuss its functions, not take credit for them. Might have dug myself a whole with this project (university coursework) though as they demand all code involved in a site!

 
New Post
4/27/2008 10:06 AM
 

Hey Sam,
I guess it would depend on what your actual assignment was as to whether using DNN was the correct choice.

DNN is a dynamic web portal framework, so there really isn't the usual page, page, page, method of putting together a web site. In actuality, there is only one "page" in a DNN site and that's default.aspx.  What happens is that at runtime, DNN figures out which virtual "page" the user wants to see then retrieves information from the SQL Server database to figure out which "modules" are on the page and where they are to be located on the page. Then DNN loads each module into the page and each module on that page is responsible for generating it's own output. The results is a combination of HTML and script that is sent down to the client's browser.  So, each module is responsible for "building" it's output from the database and DNN then merges the output from all the modules into a virtual page.

Realistically, you are using DNN as a "product" which allows you to combine modules to build a web site.  If you assignment was about programmatically building a web site, then it would probably be inappropriate to use DNN unless you develop your own module and then show the source code for your module and how it can be used within a DNN portal to display web content.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...my dnn site source codemy dnn site source code


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