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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogMake minor changes to the Blog ModuleMake minor changes to the Blog Module
Previous
 
Next
New Post
1/1/2009 4:04 PM
 

Hi there,

I'm developing a forums site using DotNetNuke. We are using the Blog module. But we need a little customization: before users post a comment for the first time, we need to redirect them to a page to sign the Terms of Use. After that, the module should just work as is.

Since the change will be restricted to only a few places in code behind, so I'm thinking to make custom changes to the DNN Blog module. With each upgrade, re-apply the changes. Here's my planned steps to do the development on the Blog module:

1. Installed a 3.3.7 DNN on localhost/dotnetnuke (but couldn't install the Blog 3.5.0 source package here. got some file access error)

2. Installed a 4.9.0 DNN on localhost/procdnn

3. Installed Blog 3.5.0 on localhost/procdnn

4. Copy the source files for Blog from under procdnn/DeskTopModules/Blog to dotnetnuke/DeskTopModules/Blog

5. Open the Blog solution file under dotnetnuke/DeskTopModules/Blog, fix the project reference to for the DotNetNuke.WebControls.dll to point to the bin folder under localhost/dotnetnuke. Both the DotNetNuke.Blog and DotNetNuke.Blog.SqlDataProject built successfully.

6. The newest dlls are under bin folder un localhost/dotnetnuke.

Then I can copy the newest dlls to any working folder to have my changes to take effects.

Is this a feasible/correct way to do it? Will it cause features/functionality to be missing? Thank you very much for any inputs.
 

 
New Post
1/4/2009 5:21 AM
 

Hi yy,

you can do this:

  1. Install DNN locally;
  2. Install the Blog install package;
  3. Unpack the Blog source to a separate folder;
  4. Open up a solution in VS with the DNN install and the Blog source projects;
  5. Fix references and make your changes to the source;
  6. Copy the compiled dlls to the bin folder replacing the existing ones.

This should make the trick.

Best regards,
Dario Rossa

 
New Post
1/4/2009 10:23 AM
 

Thank you very much, Dario Rossa. Your confirmation gave me the peace and confidence. Happy New Year!

 
New Post
1/6/2009 3:21 AM
 

Hi yy,

I just forgot:

  1. If you upgrade to DNN 5 many methods will need to be upgraded because they will be deprecated/obsolete.
  2. When first develop in DNN 5 you may probably need to add a reference to the FCK provider dll.
  3. Remember that if you alter some .ascx control, you'll need to copy it in the test environment to have it working.

Happy new year.

Best regards,
Dario Rossa

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogMake minor changes to the Blog ModuleMake minor changes to the Blog Module


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