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.0Custom Pages using DNN skinsCustom Pages using DNN skins
Previous
 
Next
New Post
4/8/2008 4:38 PM
 

We are planning to use DotNetNuke as the framework for our upcoming custom ASP.NET application (Visual Studio 2008, .NET Framework 3.5, SQL Server 2005).  We will have approximately 30-40 custom pages with complex code behinds using our other tiers (data, business).  We would like these pages to follow the same skin as the DNN application with the same look and feel.  I understand we could create modules instead of pages and just drop those modules into the content frames inside DNN, but this seems like a lot of extra work and headache as opposed to creating pages.  The pages will be single-use and not multi-use and modules are intended to be.  We do need to maintain a DNN front-end to our site for the content management functionality.

My questions are:

  1. Is there a way to create a base page or master page that we can use to follow the DNN skins and not impede any future DNN upgrades?  Any examples or instructions?
  2. Would we be better to just create our own master page to look like DNN and just host these custom pages in a separate web and refer to them from our front-end DNN site?
  3. Is there a better approach within DNN?

Thanks so much for any and all help!

Tom

 
New Post
4/8/2008 5:05 PM
 
  1. As you have seen DNN uses Skinning, not Master Pages as the latter are not needed at all.
  2. Using DNN and your application separately means effectively, having two separate applications and that also means more overhead. Just let DNN house your application and you can forget about creating additional appearance, authentication, security and navigation to say the least.
  3. Just write the modules encapsulating the content of the application pages you have in mind. DNN pages will hold the content and/or the custom application items you need.

 


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
4/8/2008 7:55 PM
 

Tom,

 

Converting special pages or creating special functionality in a DotNetNuke environment isn't as difficult as it might seem at first glance.

If you are building pages that interact minimally with the DotNetNuke framework, but included functions and access to other database, then turning them into DotNetNuke modules isn't a big issue at all.  Add to that the fact that you can take advantage of the DotNetNuke-provided services like authentication, skinning, etc. and you're on your way.  If you aren't going to take advantage of DotNetNuke's offerings, it's almost as easy as editing a few lines in the page and codebehind file to inherit from the DotNetNuke module classes.

Take a look at stockcentral.com.  Virtually all of the "tools" and "data" pages are adaptations of other functionality into DotNetNuke.  We do need to go back and make a couple of them more "compliant" with the DotNetNuke architecture, but you probably can't tell.

Spend a little time with Michael Washinton's tutorials, and you're well on your way!




Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
4/9/2008 8:32 AM
 

Thanks to both of you for the replies!  I do have an additional question based on your response Joe:

Joe Craig wrote
If you aren't going to take advantage of DotNetNuke's offerings, it's almost as easy as editing a few lines in the page and codebehind file to inherit from the DotNetNuke module classes.

So are you saying that if we aren't going to use DNN's functionality in some pages, we can just change a few lines and inherit from the module classes?  In some pages, we will want full DNN functionality, and those we will create modules for.  In others (the bulk of the 30-40), we will really just be looking for the security portions (which user is logged in, possibly some custom security built on top of that).  I will spend some more time with the tutorials and see what I can do.

Thanks again for your help!

Tom

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom Pages using DNN skinsCustom Pages using DNN skins


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