Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  Help Getting Started: Modifying A DNN Project Module (specifically Announcements)
Previous Previous
 
Next Next
New Post 6/24/2008 7:51 AM
Unresolved
User is offline salogic
3 posts
10th Ranked


Help Getting Started: Modifying A DNN Project Module (specifically Announcements) 

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 7:59 AM
User is offline Mike Horton
2962 posts
dnn.gmss.org
5th Ranked






Re: Help Getting Started: Modifying A DNN Project Module (specifically Announcements) 

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 9:39 AM
User is offline salogic
3 posts
10th Ranked


Re: Help Getting Started: Modifying A DNN Project Module (specifically Announcements) 

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 11:48 AM
User is offline Sebastian Leupold
13707 posts
www.deutschnetnuke.de
1st Ranked












Re: Help Getting Started: Modifying A DNN Project Module (specifically Announcements) 

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


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 6/24/2008 12:20 PM
User is offline salogic
3 posts
10th Ranked


Re: Help Getting Started: Modifying A DNN Project Module (specifically Announcements) 

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 Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  Help Getting Started: Modifying A DNN Project Module (specifically Announcements)
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DocuPeak Business Process Management RAD
Comprehensive enterprise and government process management. Forms, documents, indexing, workflow, views, content intelligence, capture, etc. Point and click rapid application development.
www.Webiplex.com
ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com
Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP