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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Customizing Modules?Customizing Modules?
Previous
 
Next
New Post
3/21/2007 4:24 PM
 

When I download the source zip for any of the standard dnn modules (Ex. Feedback) how do I go about customizing it. I downloaded Feedback Source and there is a zip file inside the zip file and and the vb. Project file is located in the zip inside the zip. When I open it it is giving me a bunch of errors because it cannot located different controls and class files it is looking for. Also after I get done customizing it how do I get it back to normal where I can install it?

 
New Post
3/22/2007 8:55 AM
 
Hello,

The basic process is as follows. Naturally, there are about a million things that can go wrong, but without being at the workstation in question, debugging these sorts of issues is very difficult.

1) Locate the source installation of the module
2) Find the location of the project and support files within the zip files. IIRC, this is in the resources.zip file, which is within the larger zip package.
3) Unzip this ENTIRE set of files to a directory on your drive. You should now have a .vbproj, .ascx, .ascx.vb, and .vb files unzipped on your drive. The easiest choice for a target directory is desktopmodules/[modulename], because it will prevent your having to copy project files as a post-build step (if that didn't make sense, just unzip the files there and be done with it).
4) Load the project in visual studio. Verify that the other files in the project load with the project, and that you can open them.
5) Compile the project. Here's where you're likely to get errors that you'll have to figure out on your own. These will almost certainly include reference errors, which are corrected by adding references to the project (I think last time I did this I had to re-add the DotNetNuke.dll assembly).
6) Because some modules were developed in previous versions of DNN and VS, you are likely to have warnings remaining after you correct the errors. For example, the module may call obsoleted DNN functions. Correcting these are usually optional, depending on how OCD you are.
6) Once the project compiles, you'll have an assembly in the bin/debug subdirectory. This assembly will need to be copied into your DNN installation's bin directory. You can configure VS to automatically do this through the settings page, by specifying the output directory.
7) Run your DNN website and verify that the module is working (plenty can go wrong here as well).

I just wrote these off the top of my head, so YMMV. But hopefully this will point you in the right direction!

Brandon

Brandon Haynes
BrandonHaynes.org
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Customizing Modules?Customizing 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