Dot Net Nuke, custom module addition - dotnetnuke

I am new to DOT NET NUKE 6.0 and facing a problem. The scene is that I have created a very simple user control in Visual Studio(by using ASP.NET/C#). Now I just want to add it as module in my DNN portal. Task is simple but I don not know how to do. Any help, video link, site is appreciated. I am working in DNN 6.0
Thanks

There are a bunch of resources on the DotNetNuke.com site. Take a look at the wiki entry at http://www.dotnetnuke.com/Resources/Wiki/Page/module-development.aspx. It has links to a video series that should be helpful to get started.
If you already have a control, you should make sure that it inherits from PortalModuleBase, and use the Extensions module (under Host) to create a new module from the control. DNN will create the record for it, and even create a test page with the module on it for you.

Related

How to add reference to DotNetNuke Library/Framework in a C# Project

I am developing a mobile app that uses DNN on the backend. I want to create a Web API that receives a DNN UserID and returns the user's Profile Picture.
Most of the documentation and posts speak to developing Modules and focus on DNN Templates that are available.
All I want to do is add a reference to DNN Library in my Visual Studio Project so that I can access the DNN API. I right click on references yet can't find DNN.
How is this accomplished?
Thanks.
EDIT... I'm developing on the same server that DNN is running on.
It turned out it was a simple matter of pointing to the dll's I wanted to use in the bin subfolder of DotNetNuke.

How to use multiple container in single page in DotNetNuke?

I am using a CMS (DotNetNuke) for creating a web application. I am newbe for dotnetnuke.
I searched on net for add or create multiple container for a single page and also installed some package from dotnetnuke site. But there is a issue for add or create a container in a page.
I want to use three container for top, middle and lower container.
Can any one help me out to this.
Note : I am using dotNetNuke 7.0 version on my end.
I assume by "container" you are referring to Panes, locations where you place a module on a page?
I would recommend you look at the source code for some open source skins, including my own https://multifunction.codeplex.com/ that will likely help you understand how Panes are managed.

DNN Module - Create Page for View.ascx

I have create a DNN Module using the Visual Studio DotNetNuke 7 C# Compiled Module template. When my module is installed, I would like to create a page for View.ascx. How can I do this? Can this be done when I upload the module in Host > Extensions?
From the Control Panel you should use the Add new page functionality, then place your Module on that newly created page.
Check out this video for how to Add a page in DNN7.
http://www.dotnetnuke.com/Resources/Video-Library/Viewer/Video/549/View/Details/How-to-add-a-page-in-DotNetNuke-7.aspx
And this one for how to adda module to a page
http://www.dotnetnuke.com/Resources/Video-Library/Viewer/Video/537/View/Details/How-to-add-a-module-to-a-page-in-DotNetNuke-7.aspx
To answer the question specifically about having this done automatically with the module, yes, you can, BUT you have to write code to do this and I only recommend it for special circumstances.
I've seen this done using an implementation of the IUpgradable interface in DNN to detect an initial installation and create the page using DNN API calls.
There is some detail in the Wiki about how IUpgradable works

What is the best way to make a full page Silverlight web part in SharePoint 2010

I want to make a silverlight web part hosted in SharePoint 2010 that will take up the entire screen. I know how to get rid of all the SharePoint navigation through CSS or a custom master page, but I'm struggling with how to get a web part zone to grow to the full height available. I've messed around with using CSS or jquery to set the heights of the various tables and divs that wrap a web part and haven't found a good solution. Has anyone done this?
How about not using a webpart, and just embedding the Silverlight application into an empty page with an empty masterpage?
You can grab the html or aspx page that Visual Studio generates when you create an new Silverlight project.
I would suggest you to get a new master page for this purpose. You can get the minimal master page here:
http://blog.drisgill.com/2009/11/starter-master-pages-for-sharepoint.html

Add a menu to a DNN 6 module

I'm developing a module for DNN 6.0. I need to add a menu to the module, each item in the menu will load a usercontrol into a placeholder.
I'm missing the menu stuff any1???
10x
Module level menus are not supported by default in dotnetnuke module development.
There are many ways to implement it, which is similar to normal asp.net development.
You can use query string, you can use asp.net menu and handle it's click event and there is an endless list of ideas.
Please add some more specific requirements to get exact tip on how to handle that smartly in dotnetnuke.
Thanks for the reply.
I ended using "asp:LinkButton". I had problem with the asp.net menu.
10x

Resources