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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0modifying a core projectmodifying a core project's source?
Previous
 
Next
New Post
8/22/2007 8:51 PM
 

did a search and couldn't a similar thread, so if this question has already been answered please linke me.

i've been working with the UDT .ascx files for a while now (under /DesktopModules/UserDefinedTable).  obviously this isn't whole source, just the presentation layer.  so I want to get down deeper and I've downloaded the source.  The source is a collection of sqldataproviders, a .dnn, and some .dlls.  if i unzip the "resources" file, i get the .vbs and stuff that I'm after.  they're all included in a .sln, but when I open that .sln, a bin folder is created on the desktop and there are some references (like to the dotnetnuke project) that aren't available.

my question is, when I get the source for a module, where do I put it and how to i set it up properly so that I can start modifying it's code correctly?  does that make sense?

 
New Post
8/23/2007 8:04 PM
 

Create a clean install of DNN

If the source is in a standard DNN install format - try installing it as you would a normal module from inside DNN.
The source files should populate into the appropriate DesktopModules folder etc

Otherwise - you should manually unpack the zip into a FOLDER inside the DesktopModules folder etc.

THEN open the .sln solution.

You will find that most of the references may need to be remapped.

Westa

 
New Post
8/23/2007 9:12 PM
 

Also note that some of the Core projects like Survey and Reports have the source included in the install. You simply install the module and then select open website:

and navigate to the root of your DotNetNuke website. The .ascx and .vb code behind will be in the DesktopModules folder.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
8/29/2007 4:54 PM
 

sorry guys, i'm still having problems. I'm trying 2 different things:

1) installing the module (UDT) through DNN framework, as Michael suggested. then I open the DNN website with Visual Studio and try to modify the UDT code from within /DesktopModules. The problem is, while some files can be modified (like the .ascx's and data providers .vb's), the code-behind files are nowhere in sight. when I add the code behind files (from the source located elsewhere) to /DesktopModules/UserDefinedTable, they are properly grouped with their respective .ascx's; however, modifications to these code-behind files make no changes to the website. Are there Visual Studio settings somewhere that tell the site not to compile already-compiled codebehinds or something like that?

2) i tried unpacking the 'resources' folder into /DesktopModules, and renaming it 'UDT'. The problem is that the directory structure is different from the structure provided when I create a new DNN module from Visual Studio, and I have no idea how to work with this package. if my #1 attempt above can be tweaked to work, that would be preferable. in either case, here is the directory structure of both as i'm seeing it, maybe you could provide some insight.

Visual Studio DNNModule

  • App_Code
    • NewModule
      • (data provider and controller .vb's)
  • DesktopModules
    • NewModule
      • App_LocalResources
        • .resx's
      • Documentation
      • SqlDataProvider
      • (.ascx's and .vb's)
      • NewModule.dnn

 

UDT Source

  • sql data providers, .dll's, UDT.dnn
  • resources.zip
    • App_LocalResources
    • BuildSupport
    • Components
      • data provider and controller .vb's
    • Providers
      • more data providers... why separate?
    • .sln, .ascx's, and .vb's

 if I open the .sln, i get yet another directory structure opened in Visual Studio.  This structure excludes some files, including the code-behinds.  I have to remap a lot, so i'm avoiding this method.

 
New Post
8/29/2007 5:05 PM
 

Sorry, I haven't seen this thread before - asking in the UDT forum would have earlier been noticed. 

Please be aware, that UDT is still a DNN 3 module, that requires DNN3, VS2003 and ASP.Net 1.1 for development. In an DNN3 installation, you can simply install the source as any other module and start with your modifications.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0modifying a core projectmodifying a core project's source?


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