DNN Blog

Nov 19

Posted by: Chris Hammond
11/19/2010 2:43 PM  RssIcon

UPDATE 1-30-12: For more information on how to use this template, check out the 25 part tutorial on DotNetNuke Module Development in the Wiki 

So if you’ve followed my blog over the past 6 months you likely recall a post about some module development templates that I released early in the summer.  I’ve put out a new release of the templates (C# and VB.NET), changing some things around a bit with the structure and how they work.

Before going too far with this post I would encourage you to take a look at my previous blog posts on module development, then check out the list of changes to the template below.

Previous posts:

So the big change for this new release of the templates is this, I removed the NANT Build scripts from the template and replaced them with MSBuild scripts. So what does this mean to you? You no longer need to install and configure NANT, but you do need to download the MSBuild Community Tasks, that is an easy thing to do, you can download the MSI file from this page (http://msbuildtasks.tigris.org/) and run it (YOU MUST DO THIS BEFORE YOU USE THE TEMPLATES).

Then, in order to package your modules all you need to do is compile your project in Build mode. I’ve created a video of this whole process, you can watch it here, or in the DotNetNuke Video Library.

I also changed the naming within these templates, they are no longer referencing Christoc.com, they now are called DotNetNuke templates. I will be working to get these templates included in the Starter Kit package for DotNetNuke 5.6.1, but for now they are available as standalone templates.

These templates use a custom .targets file, different than the one available via Source for the DotNetNuke project on Codeplex. I like to have modules package as much information into a resources.zip file, minimizing the amount of information in the manifest, so the targets file creates the resources.zip.

UPDATE 1-30-12: For more information on how to use this template, check out the 25 part tutorial on DotNetNuke Module Development in the Wiki

You can download the templates from http://christoctemplate.codeplex.com (be sure to give them a rating if you like them!)

70 comment(s) so far...


Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hey Chris,

I used your last Templates to create a module, but never setup the NANT build part. Is there a way to retrofit that module with this new Template so I can use the MSBuild functionality? Or do I have to create a new project and copy all my code over?

Is the build based on the .dnn manifest file? If so, then I just edit the file, change the version number, add SQL script file refrences, etc and do a Release build and I'm good to go? Or is there more to it?

Thanks.

By Henri Fournier on   11/20/2010 1:28 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Henri, I would recommend creating a project from the new template and see the differences in the Project file (open in a text editor) and grab the BuildScripts folder.

By Chris Hammond on   11/20/2010 1:31 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hey Chris
I’m trying to use the DotNetNuke Module Development Templates VB I get an error
”System.runtime.Interrop.Services.COMExcpetion” and it doesn’t finish the project
I’m using Visual Studio 2008

Place help

Kind regards

Lars Vinther

By Lars on   11/22/2010 1:41 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Lars, I've seen people report this before, but I have no idea why. I can't seem to recreate that. Do you have IIS installed and DNN running?

By Chris Hammond on   11/22/2010 1:43 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hey chris yes i do hav ISS and DNN running and i works vith the C# thempplatet

By Lars on   11/23/2010 10:08 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris... Sorry, I must have been looking at a cached page and didn't see your new blog.

By Darnell Greer on   11/23/2010 4:11 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hey Chris

I hav godt it to work.

You need to install ISS 6.0 metabase and make the chance to the host file With ”dnndev” I did only use DNN Thoth is was easier and did not matter but it did

Tanks for this template

Kind regards

Lars

By Lars on   11/24/2010 12:53 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Thanks for the update Lars! Glad it is working now.

By Chris Hammond on   11/24/2010 12:54 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris,

This does work really well. Easier then the NANT version.
The only issue I see as I am using in VS2010, it loads the project as framework 3.5 even when 4.0 is selected in the new project window.
Is it a matter of just changing the :

Thanks for a great tool.
Doug

By dougc on   11/24/2010 2:14 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris,

This does work really well. Easier then the NANT version.
The only issue I see as I am using in VS2010, it loads the project as framework 3.5 even when 4.0 is selected in the new project window.
Is it a matter of just changing the :

Thanks for a great tool.
Doug

By dougc on   11/26/2010 2:26 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

hi Chris,

Thanks. It worked as promissed. I had one hickup because I didn't install the source.zip but instead used the install.zip. But after a restart of my local dnn it worked fine.

Looking forward to your next video's / webinar.

Greetings,

René

By Awakening Zanshin on   11/26/2010 2:26 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Chris,

When I try to create a module in VB, I get an dialog box in VS 2010 stating that the web project is not configured and prompt me to create a virtual directory. If I click Yes to create a virtual directory, I get the error message that VS cannot find dnndev.

I have my HOSTS file modified to include DNNDEV and I can enter the URL at the browser and I can get to the DNN instance. I am running Windows 7.

Do you have any recommendations?

Thanks
Ray

By Ray Mueller on   12/10/2010 2:09 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

For Visual Studio 2010 / deploy on IIS 7, I had to delete the web.config file that is created as part of the template. Not sure if there is another way around that, but without doing so I received an error when I tried to add the module to the page of "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level".

Chris, not sure if that's the same issue you saw or not, but the example/video appears to be run on VS2008 and IIS6.

By Paul Jenkins on   1/4/2011 3:25 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris

I have a question about how to include additional DLL files referenced in my project. I am really stumped. I have several EntitySpaces DLLs that I use for my DAL and a Telerik DLL for interface. None of them make it into the zip files automagically, so I assume I need to find some magic of my own.

In my ModulePackage.targets file I saw the line


so I figured I would try the following


I was under the impression that if the built project assembly was in the bin folder and was making it into the zip files, then certainly specifying an additional DLL in the same manner should work. I am wrong. No additional DLLs appear in the zip.

I have found the ends of the internets searching for documentation on how to do this, and have found nothing. This means either nothing exists or I am really missing the boat on this.

Any suggestions?

Thanks much,
Bruce

By bparr on   1/4/2011 3:26 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Bruce, I'll figure that one out and do another blog post here in the next day or two. I see what you're trying to do, and it's not working for me either :D

By Chris Hammond on   1/4/2011 3:41 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Bruce, check out my latest blog post that addresses your issue

www.dotnetnuke.com/Resources/Blogs/tabid/825/EntryId/2935/Including-additional-DLL-rsquo-s-in-an-MSBuild-script-for-Module-Packaging.aspx

By Chris Hammond on   1/4/2011 7:50 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris. I have been very happy using your template for the modules I have created. However they have been fairly simple modules. I now would like to do a project that will put about 6 modules in a single package. I have purchased a few modules that do that. Can you point me to a tutorial that will help me? Hopefully I will be able to utilize your template in the process.

By Darnell Greer on   2/25/2011 9:08 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Darnell, I don't know of any examples at this point in time. But basically just look at the DNN file, you need to add a new component section for each module you want to include.

By Chris Hammond on   2/25/2011 9:09 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

How can I use the template for that? Do I create a new project within a module project and copy the sub component section to the main one?

By Darnell Greer on   3/2/2011 3:20 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Subject change. My modules are not 'Packaging' in the release build. The builds are successful, but there is no packages folder in the project after building in release. How would I go about trouble shooting?

By Darnell Greer on   3/4/2011 9:44 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Darnell, I'm going to ask a silly question first to rule that out. Do you have a BuildScripts folder OR a modulename.BUILD file in your project right now?

By Chris Hammond on   3/4/2011 9:45 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris,
Are these module templates now included within the Starter Kit package for DotNetNuke 5.6.1?

By Jase on   3/4/2011 5:19 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

I think I found THAT problem's cause. I somehow was using the old module with nant. I have corrected that. I have started using the latest template. The problem I have now is I cant remember how to point the template to use localhost/ThatDarnWebDesign.
I could never get dnndev to work on my iis, so I got it working on localhost. I had to upgrade vista and now I can't remember what I did, which line in which file to change to get the template setup to point to localhost. None of my changes are working. Visual Studio keeps wanting to set the virtual directory in dnndev.
I apologize for being such a pain.

By Darnell Greer on   3/4/2011 5:17 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

I did remember what I did before. After the failure to complete the virtual directory, I right clicked the project file and edited the dnndev referenced to the dnn instance that holds my modules. I guess when I did that and re-zipped the package the edits got overwritten or something.

I am still extrememly baffled as to why I can't get dnndev to work on iis7 on my vista machine.
Sorry to be such a bother. I truly appreciate the Great work you and DNN Corp. do for us ametuers out here.

By Darnell Greer on   3/4/2011 5:19 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Jase, unfortunately these are not in the starter kit. I was told they would be for 5.6.2, but something tells me that isn't happening either. So manual downloads are the only way to go for now.

By Chris Hammond on   3/4/2011 5:19 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Darnell, I'm not sure why DNNDEV wouldn't work for you, my guess would be the HOSTS file entry is missing?

By Chris Hammond on   3/4/2011 5:20 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

I don't either.
I entered 127.0.0.1 dnndev to the list in the HOSTS file.

By Darnell Greer on   3/4/2011 9:58 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Chris, I am trying to use your templates, and echoing a previous post:

When I try to create a module in VB, I get an dialog box in VS 2010 stating that the web project is not configured and prompt me to create a virtual directory. If I click Yes to create a virtual directory, I get the error message that VS cannot find dnndev.

I have my HOSTS file modified to include DNNDEV and I can enter the URL at the browser and I can get to the DNN instance. I am running Windows 7.

Do you have any recommendations?

I didn't see any answers or things to look at....hoping someone can guide me.

By Paul Hermans on   4/14/2011 1:14 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Chris,
I have run into some strange behavior. I have created a module using the templates successfully once. Now when I try to create a new project, build release, install module, and then go back into VS. After it updates the project, I can no longer add ASP controls to the view.ascx(for example). I get an error stating "Error Creating Control Error HRESULT E_FAIL has been returned from a call to COM component" when I enter source. Design mode will only allow me to use HTML controls. I have completely redone my DNN environment. The one successful project still works and I can add controls. Any ideas?

By Jim on   4/14/2011 1:14 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

I am new to module development, and am trying to follow your blogs. In this one, you say that one should download the MSBuild Community Tasks, which I have done, but now, what do I do with it?

By Empulse on   4/14/2011 1:13 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Now I see that you cover that in the video. Thought it had to be done before the tasks you cover in the video.

By Empulse on   4/14/2011 1:13 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris,

I cannot get F5 - debugging to work properly with the template.

I set up the hosts file to point volleyballresults2 at 127.0.0.1.
The site works with the URL volleyballresults2/. If I use Debug | Attach to process I can successfully set breakpoints and step though code.

If I press F5 I get a dialog box with the message "Unable to start debugging on the web server. The debug request could not be processed by the server due to invalid syntax." If I press Ctrl-F5 then I see IE start but the url given in the address bar is volleyballresults2/desktopmodules/TestModule/http://volleyballresults2. This is NOT what I would expect. I have configured the "Use Local Web Server option" (ticked) and the "Project URL" is set to "http://VolleyballResults2/desktopmodules/TestModule/" and the "Override application URL setting" is set to "http://VolleyballResults2/" I notice that both of these values appear in the URL IE is attempting to access, but I do not know how to influence them.

Env - VS2008 + SP, Win 7, IIS 7.5

A stop/start of VS made no differnce. A stop/start of IIS made no difference.

Any ideas?

By Richard Howells on   5/10/2011 8:40 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Chris, I am trying to use your VB template with VS 2010.

When I try to create a new project based on your template, I get a dialog box stating...

"The local IIS URL dnndev/DesktopModules/UserDisplay specified for Web project UserDisplay has not been configured. In order to open this project the virtual directory needs to be configured. Would you like to create the virtual directory now?"

If I click Yes to create a virtual directory, I get the error...

"Creation of the virtual directory... failed...Could not find the server dnndev on the local machine."

I created a website in IIS called dnndev and modified my HOSTS file to include DNNDEV. I can enter the URL dnndev at the browser and get to the DNN instance. I am running Windows Server 2003 Standard x64 edition Service Pack 2.

Do you have any recommendations?

By Richard Stickles on   5/17/2011 2:37 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

UPDATE....
I set up my envelopment environment on my web server as this apparently can't be done in XP using IIS 5.1

The article (on setting up your dnndev environment) hints to the fact that you can't use these template if your developing in Windows XP when it talks about creating a new website - "...this isn’t possible in Windows XP because of limitations with IIS v5.1...", which would be fine, except that it follows that with a statement that leads the reader to believe it CAN be done - "...If you are using IIS 5 or IIS 6 you will need to verify that ASP.NET 2.0 is selected..."

In short...if you're using Windows XP and IIS 5.x this template isn't for you - or me! But, it is a great tool, and when I buck up for a new laptop I'll put it to good use.

I hope this post saves someone a migraine like the one I got.

By Patrick Reddy on   7/21/2011 10:53 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Chris,

Just wanted to say thanks for this template.


- Kevin

By Kevin on   8/26/2011 12:26 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Thanks Kevin, glad they are useful!

By Chris Hammond on   8/26/2011 12:27 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hello Chris,
Your videos are clear and I learn a lot from your demos and explanations. However, I found that the flash video streaming often time gets blurred and clean and it is random and repeating throughout the videos. I guess it is due to the service provider, Brightcove.com. I contacted them and they told that I should contact the DotNetNuke, hence I am leaving this comment hoping those issues resolved.
Thank you again your tutorial videos.
Woogon Chung

By Woogon Chung on   8/29/2011 10:09 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Woogon, I will try to follow up with Brightcove when I am back next week. I am currently out of the office racing cars all week (vacation).

Chris

By Chris Hammond on   8/29/2011 10:11 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

For me using VS 2010 (and no idea) when updating the 'Use local IIS Web Server' properties I also received VS 2010 wanting to add a virtual directory.

Doing so broke the site.

Using IIS I then deleted the virtual directory that was created, VS 2010 didn't seem to care that I had done that. Site began working again and the environment seemed to be fine, i.e. could now make changes on the fly without reinstalling the module.

This might help someone else scratching their heads like I was.

- Dave

By David Clark on   9/28/2011 12:08 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

I just downloaded the vb module per your instructions..however when i do file-new project and i select dotnetnuke vb compliled module I dont get the location or the solution name below the name? The only thing i see is the name. Im using vs2010 utimate on win7. Did i miss something?? The other web projects gives me the correct information

By myperfectsalon on   10/18/2011 3:18 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

@myperfectsalon there is a setting in the options for Visual Studio in which you can turn on the location info for the project create in VB. Offhand though I am not sure which setting that is.

By Chris Hammond on   10/18/2011 3:18 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

If your development environment is NOT at: dnndev and you want to change that to YOUR development environment URL, modify the following file(s) in the template .zip:

VB - ModuleName.vbproj
C# - ModuleName.csproj

There are two instances of "http://dnndev", just change them to your url and you'll be all set.

Chris, feel free to add anything I missed, if indeed I did.

Thanks for the templates and the MSBuild integration for automatic packaging. It's a definite time saver!!

By Edward DeGagne on   10/24/2011 12:57 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

When I open the videos in fullscreen mode it is extremely blurry and I can't watch it in normal because the text is too small. Do I need to do something to be able to view these clearly? Thanks

By Lori Shandor on   12/5/2011 1:35 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Lori, you should be able to view higher quality video if your network will support it, the quality adjusts based on the bandwidth available. You might try pausing the video and let it buffer for a bit to see if that helps.

By Chris Hammond on   12/5/2011 1:36 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Thanks Chris, I already tried pausing it multiple times. I'll keep trying, thanks!

By Lori Shandor on   12/6/2011 11:31 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris, me again. First of all I want to say thank you very much for these videos! I am on a deadline for a project and without these I would be lost. Secondly, is there anyway to be able to get the Day 1, 2, 3, and 4 zip files that you supplied in the videos for the code files? Thanks

By Lori Shandor on   12/6/2011 11:31 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris, I sent a comment yesterday asking if it is possible to get the additional files you supplied for the 4 Module Development training days (i.e. view, edit, settings controls. etc.) and I didn't know if you received it. I am new to module development and it would be great to be able to follow through the 4 sessions completely. Thanks so much!

By Lori Shandor on   12/6/2011 11:32 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Lori, the materials for the Module Development training course are accessible through our Training Subscription. You can find more info about the training subscription at www.dotnetnuke.com/Resources/Training/Training-Subscription.aspx

By Chris Hammond on   12/6/2011 11:46 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris, thanks for the templates!

I have added some new folders for WCF (called Service) - and I noticed it is not in the zip - do I have to manually add new folders/files for them to be built? (sorry, new to MSBuild!)

Thanks
Rod

By Rodney Joyce on   12/14/2011 10:07 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

ps - I have added WCF .svc files which I need to deploy...

By Rodney Joyce on   12/14/2011 10:07 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Rodney, please see this blog post www.dotnetnuke.com/Resources/Blogs/EntryId/2935/Including-additional-DLL-rsquo-s-in-an-MSBuild-script-for-Module-Packaging.aspx

By Chris Hammond on   12/14/2011 10:07 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Great, I missed that! I added .svc to the include files and all is well... thanks

By Rodney Joyce on   1/5/2012 3:38 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Thanks for this excellent post chris.. even a beginner like was able to set it up smoothly in one go.

Now is the troubling part, can you please clarify me on how would I add contents to the module, for example suppose i create a banner module from you templates in which in View.ascx i add an asp:image, tell me where would I store the path of the image that i setup and how would the module distinguish between the contents of the two instances of my modules on different pages.

I just need a few key points, dont want to trouble you more..

By Ather Hashmi on   1/5/2012 3:44 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Ather, I would suggest checking out the Module Development Wiki entry, specifically the Task Manager series of videos.

www.dotnetnuke.com/Resources/Wiki/Page/Module-Development.aspx

By Chris Hammond on   1/5/2012 3:46 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Thank you for the very good template, Chris.
I am not sure why there aren't DAL files in it the Components folder (info,dataprovider, sqldataprovider and controller)
Is it because you do not target to certain data access method? Do I just have to create these files myself or am I missing something?
Is there any documentation that explain other files like FeatureController.cs?

Thanks,
Yehuda

By Yehuda Tiram on   1/30/2012 11:23 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Yehuda, I would recommend going through the 25 part tutorial on the Module Development page of the Wiki, it will help you understand how the template works with DAL

www.dotnetnuke.com/Resources/Wiki/Page/Module-Development.aspx

By Chris Hammond on   1/30/2012 11:24 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris,

I want to develop a website using DNN.
I have set up DNN. But, when using VS2008 to use the c# template, I am getting the following error while changing properties and saving the file

To access local IIS websites you must install the following IIS components and run visual studio in the context of administrator account.
-Windows Authentication

I do not know what that means... Please help me solve this one..

By subrahmanya kante on   2/4/2012 11:53 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

subrahmanya you need to go into your Windows Add Features area and make sure to check the Windows Authentication box in the IIS installation options.

By Chris Hammond on   2/4/2012 11:55 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris,

I did finally set up the environment and started my module..
I have a basic question.

I have added a button as





to view.ascx file

I have defined the event for the button as

private void clickSubmit(object sender, System.EventArgs e)
{
//some code
}

in View.ascx.cs file

VS2008 builds it successfully but my page gives a long error.. something that starts as

Error: Ask A Question is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: c:\saidev\DesktopModules\AskModule\View.ascx(14): error CS1061: 'ASP.desktopmodules_askmodule_view_ascx' does not contain a definition for 'clickSubmit' and no extension method 'clickSubmit' accepting a first argument of type 'ASP.desktopmodules_askmodule_view_ascx' could be found (are you missing a using directive or an assembly reference?) --->

How do I define actions to my buttons ?

Also, could you please tell me how to access the database layer. I want to create some custom tables and add data to them. Could you point me to the right tutorials for this..

By subrahmanya kante on   2/9/2012 12:44 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

subrahmanya you likely aren't building the module into the right location, the DLL needs to go into the website's BIN folder

You should also sign up for our Training Subscription www.dotnetnuke.com/Resources/Training/Training-Subscription.aspx

By Chris Hammond on   2/9/2012 12:44 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hi Chris,
I'm having a herd time getting the templates to work with DNN 6.x. The reference will not resolve. Is there a trick that I'm missing?

Thanks,

Kevin

By Kevin Hough on   2/13/2012 10:15 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Kevin,
If you are running into reference issues you likely put the Module into the wrong location

it should be in c:\websites\dnndev\desktopmodules\MODULENAME if you followed my instructions for setting up your environment.

C

By Chris Hammond on   2/13/2012 10:16 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Hello Chris,

I have just downlaoded the latest from christoctemplate.codeplex.com/ and configure it as explained.

I know that now the MSBuild is in use; so i just put the module in build mode to 'release' and built the project. However, I couldn't find any folder named 'Package in website directory.

However I can find the "Package" folder in module folder and it contains two zip files e.g InkStudiocModules_00.00.01_Install.zip and InkStudiocModules_00.00.01_Source.zip.

Do you think these are the package file and should I use them for production? Can any one help in this.


My folder structure is as following.

--- C:\inetpub\wwwroot\DNNInkStudioc (A folder where DNN website resides)
--- C:\inetpub\wwwroot\DNNInkStudioc\DesktopModules (A folder that contains all the modules)

-- DNNInkStudioc\DesktopModules\DNNInkStudiocModules (A folder that contains module template data e.g build script, documentation, Packages, Properties etc)



Many thanks,
Jigar

By Jigar on   2/14/2012 12:25 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Jigar, the PACKAGE folder is where you module is built and package. It is supposed to reside within the module's folder

By Chris Hammond on   2/14/2012 12:26 PM
Gravatar

How to have more than one user controls?

Hello Chris,

Thanks for the above answer; I checked whole video as well.

I want to develop wizard type things and put that in DNN; for that I need almost 6 user-controls and then need to be on different different pages of DNN.

I checked the video and able to add one module on page; but my question is that how we can I get the more than one user control to be part of the template and get that display on one to another pages.

I am new to DNN module development and hope My question is clear enough.

Many thanks,
Jigar

By Jigar on   2/15/2012 11:40 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Jigar, I would recommend posting in the Forums or Community Exchange with your question, blog comments don't lend themselves to that much discussion very easily.

By Chris Hammond on   2/15/2012 11:52 AM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

BUILD FAILED

Could not find a '*.build'

I can not find any *.build file in zip

help plz

By b.deren on   2/21/2012 3:01 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

thx, very useful!!!

By b.deren on   2/21/2012 3:01 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Super Chris! First I'm getting access denied issues for the "25 part tutorial on DotNetNuke Module Development in the Wiki" link at the start of your post. Second, have your templates been included into the DNN 6.1.4 starter kit yet?

By Juan de Vashon Isle on   3/11/2012 3:41 PM
Gravatar

Re: New DotNetNuke Module Development Templates, w/video

Juan, I fixed the WIki link, sorry about that.

As for the starter kit, no, you still have to download them manually. It looks like they will never make it into the starter kit, that thing should just go away anyways.

By Chris Hammond on   3/11/2012 3:43 PM
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.