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  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
MadCap Software, Inc.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Blog Module [Le...  help with code-behind
Previous Previous
 
Next Next
New Post 5/11/2008 2:31 PM
Resolved
User is offline hurrymonkey
4 posts
10th Ranked


help with code-behind  

Hi all

i have been searching (i already went through the entire blog forum thread) and googling around for an answer. I am unable to make any changes with the source of the blog module.

I used the source zip when installing the new module; the blog modules works fine and i am able to see the code-behind files.

However, when i try to edit (or even delete) the code behind files, my changes are not reflected. i believe that this is since all the .ascx pages inherit the assemblies and do not look at the code-behind.

I am sure i am missing something, but can anyone give me any advice on how to start playing around with the blog module source, i have been stuck on this all weekend

Any help would be greatly appreciated

 
New Post 5/11/2008 4:43 PM
User is offline Scott Stokes
108 posts
www.adverageous.com
9th Ranked


Re: help with code-behind  

You'll have to not only make the changes you want to the code-behind files, but recompile the blog module to get a new "DotNetNuke.Modules.Blog.dll"

There should be a "DotNetNuke.Blog.vbproj" file hanging out with the other source-files.  You'de have to open this in Visual Studio, double check references and output paths...then make your changes as needed, recompiling as you make them..

 
New Post 5/11/2008 6:22 PM
User is offline hurrymonkey
4 posts
10th Ranked


Re: help with code-behind  

Thanks, I will try that out and post back when it worked out for me.

One other quick question though, what did you mean by double checking references and output paths?

In either case i hope i will figure out.

Thanks again scott

 
New Post 5/11/2008 11:09 PM
User is offline Dario Rossa
182 posts
dotnetnuke.dariorossa.it
9th Ranked


Re: help with code-behind  

Hi hurrymonkey,

the output path should already be set to the /bin folder, because your web app will look there for the needed assemblies. Moreover, your code files will probably rely on other assemblies (e.g. dotnetnuke.dll) that they need to find, references allow this link. I hope this answered your questions, if not, let us know.

Best regards,
Dario Rossa


Dario RossaDario Rossa
Personal WebSite: http://www.dariorossa.it
DotNetNuke: http://dotnetnuke.dariorossa.it
 
New Post 5/12/2008 2:23 AM
User is offline Scott Stokes
108 posts
www.adverageous.com
9th Ranked


Re: help with code-behind  

 hurrymonkey wrote

One other quick question though, what did you mean by double checking references and output paths?

I went ahead and loaded up the blog source to show you what I meant:

The Yellow "!" icons next to "Dotnetnuke" and "Dotnetnuke.Webutility" are references that need to be fixed.  Removing and re-adding should fix.

This particular problem is probably caused by the solution file looking for Dotnetnuke.vbproj in my DNN website folder.  At any rate, it's a common issue and good thing to check whenever your working on a source for the first time.

The solution file from the 3.4.0 Blog module I installed is also in VS 2003 (which is the version I decided to open it in).  Normally I would convert up to 2005 or 2008 before modifying a module like this, which usally isn't too painful.

 

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Blog Module [Le...  help with code-behind
 


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.

 


Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com
Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca
Vekkin Solutions
Vekkin Solutions provides complete website solutions and custom module development to churches and small businesses.
www.vekkin.com

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