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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Modifying Core ModulesModifying Core Modules
Previous
 
Next
New Post
2/22/2007 8:40 AM
 

Can someone tell me how to set up a project to Modify a core module.

I cannot get a core module to debug or compile. I can create new modules if I want but I want to modify in particular the Documents module.

I am an experienced .NET developer, I have read every help article on this site, have been through numerous forum posts, I have tried VS2003, VS2005 and VWD with importing the module and I will have no hair left soon if I don't get an answer to this...

 
New Post
2/22/2007 10:14 AM
 

it first depends, whether you want to modify a DNN3 or DNN4 module - currently most of the moduls are DNN3 modules and need VS2003. To edit DNN3 modules, you need to download and install source version from the module project's homepage. after installation there shall be a .sln file, where you need to adopt the url before you can use VS to open it.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/22/2007 11:36 AM
 
Thanks ever to much...I see now where I was going wrong..

To make is clear for others who want to compile and debug a core module...

VS2003
1. Set up your DNN install website as normal
2. Install the Module Source via the host account
3. In the Site\DesktopModules\ThisModule directory, open the .SLN project file in VS2003
4. Delete the empty DotNetNuke project
5. Add an existing website, i.e. your DNN website, click icon to show all code behind files & references in each project
6. In the 2 Module projects, delete the old references to DotNetNuke.dll and Microsoft.ApplicationBlocks.Data
7. Add new references to the 2 Module projects to replace those you just deleted. Browse and select the replacement .dll files from the bin folder of your website folder.
8. Amend web.config to allow debug = true

VS2005
As above, but your Module was probably written in VS2003, so in step 3 when you open the .SLN file in VS2005 you just need to run through the simple upgrade Wizard

Lastly grab yourself a beer...




 
New Post
9/24/2007 1:57 PM
 

Steve,

Which module were you working with? I tried following your steps for the Events module (using the install version of DNN) and had a number of issues. 

  1. There is no empty DotNetNuke project in the sln file for the Events module (step 4)
  2. Step 5 - how did you add the existing website. Did you make a new VS 2003 project file for your dnn site (e.g. http://localhost/dotnetnuke) and then add that to your solution?
  3. Step 6 - what's the second module project? The dataprovider project?
 
New Post
9/24/2007 2:44 PM
 

Hi Tjuni

 

I haven't used DNN for quite a long time so am a bit rusty in giving you a proper answer.

Step 4

I was modifying the Documents module, this may have been set up differently than the one you are using in which case you don't have to delete it as it is not surplus.

Step 5

Yes I recall thats what i did

 

Step 6

You may not need to follow this step if you didn't have to follow step 4. I found the old dlls were not compatable and needed to be re-added to make it compile. The 2 projects I'm referring to are the module and the website project. Sorry if this was confusing.

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Modifying Core ModulesModifying Core Modules


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