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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Help Getting Started: Modifying A DNN Project Module (specifically Announcements)Help Getting Started: Modifying A DNN Project Module (specifically Announcements)
Previous
 
Next
New Post
6/24/2008 10:51 AM
 

I apologize for asking, what seems to be an elementary question for this forum. 

I have done some work with module creation but I have not been able to locate any resources discussing working with an existing module.  I did read Module Development Guide (Part1) and the code in Part2 both by Shaun Walker and while this was good it appeared to me it essentially addressed creating the Survey module from scratch (with code pasted in) rather than editing an existing module, which is my goal.

I am interested in Modifying a DNN Project Module, specifically the Announcements module at this time.

I am running Visual Web Developer 2008 on Windows XP with .NET version 3.5.  I have installed DNN version and created a Web Site for this purpose.

I have also downloaded

Module - Announcements 04.00.01 Source 1/27/2008
Download
4.06.02
but when I view this zip file, Announcements_04.00.01_Source.zip, I notice the two dlls:  DotNetNuke.Modules.Announcements.SqlDataProvider.dll and DotNetNuke.Modules.Announcements.dll

I assume I need to install the module without the dlls in order to modify the code but this is where I become stumped.

I did peruse the inner zip file, DNN_Announcements_zip, which is inside Announcements_04.00.01_Source.zip.  This inner zip contains DotNetNuke.Announcements.sln which, based on a post I found in this forum, I opened in Visual Web Developer 2008 but I don't know where to go from there.

If anyone could point my in the right direction to locate more information on this, I would greatly appreciate it.

Thank you for your time.

Sincerely,

- Sal

 
New Post
6/24/2008 10:59 AM
 

In the past I've modified the registration page (this was back in the DNN 2 days before you could easily add fields) and the Repository module. I found the easiest way to do this was to create my own module and then copy/paste the code from whichever module I was modifying. Then I'd have to fix up any errors I found so that I could get it working the way it would if I just installed the original. Once that was done I started making my modifications.

 
New Post
6/24/2008 12:39 PM
 

Thank you to Mike for pointing me in a direction to pursue.

I have tried creating the files for the module and filling them with the code available in Announcements_04.00.01_Source.zip.   When I attempt to "Build Web Site" in VS Web Dev 2008 ExpressI receive the following three errors:

Error 1 Could not load type 'DotNetNuke.Modules.Announcements.EditAnnouncements'. \DNN_Website_ModAnnounce\DesktopModules\Announcements\EditAnnouncements.ascx 6

Error 2 Could not load type'DotNetNuke.Modules.Announcements.Settings'. \DNN_Website_ModAnnounce\DesktopModules\Announcements\Settings.ascx 1

Error 3 Could not load type 'DotNetNuke.Modules.Announcements.Announcements'. \DNN_Website_ModAnnounce\DesktopModules\Announcements\Announcements.ascx 1

If I place the two dll files, DotNetNuke.Modules.Announcements.SqlDataProvider.dll and DotNetNuke.Modules.Announcements.dll, in the /Bin folder the Web Site Builds successfully.

Further research, specifically in the Announcements Module Forum, revealed a very similar inquiry by ChadimusPrime which does not have any replies at this time. http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/12/threadid/237469/scope/posts/Default.aspx

Any further suggestions or directions to relevant resources would be greatly appreciated.

Sincerely,

- Sal

 

 
New Post
6/24/2008 2:48 PM
 

compile the project but don't create the web site. make sure the compiled .dll file gets copied to the /bin folder.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/24/2008 3:20 PM
 

Thank you to Sebastian for his reply.  I believe this has helped me wrap my head around what is going on.

This has lead me to the following conclusions, which I would appreciate confirmation of.

1.  The appropriate file to open to work on the project would be the .sln file?

2.  Visual Web Developer 2008 EXPRESS Edition does not support compiling .dll files?  (I am currently using Express)

3.  If I do upgrade to Visual Web Developer 2008 Studio and wish to develop iteratively, I will need to compile the .dll for each iteration?

Thanks for helping me understand DNN more deeply.

Sincerely,

- Sal

 

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Help Getting Started: Modifying A DNN Project Module (specifically Announcements)Help Getting Started: Modifying A DNN Project Module (specifically Announcements)


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