Sections
     
     
WWWCoder.com Resource Directory

 

ORDER TODAY!
Professional DotNetNuke ASP.NET Portals
Amazon.com now has the only DotNetNuke book you'll ever need. Written by the guys who brought you DotNetNuke, Shaun Walker, Patrick Santry, Joe Brinkman, Dan Caron, Scott McCulloch, Scott Willhite, and Bruce Hopkins. Order it now! .

DNN Tip: Exposing Admin Tools
10/21/2003 8:26:44 AM

Ever want to make available certain admin tools to someone else besides a person in the Administrators role, here's a quick tip to show you how.

Here's a quick tip to expose certain admin tools to folks outside of the Administrators role of DotNetNuke. This should work for every version of DotNetNuke available.

Say for example you have marketing people that want access to Web statistics, but you don't want to have to make them a member of the Administrators role. Sure you can add them to the Administrators role in order to view the Web stats, but this also provides them with much more permissions on your portal than is required to just view Web stats.

What we're going to do is expose just that specific functionality as a module in DNN that can be inserted into any tab in your portal. Then once you have the module within a tab, you can create a marketing role and provide access to the tab just to the folks who need it.

The first thing we need to do is expose a new module to our portal. Go to the Host tab of DotNetNuke and select Module Definitions from the drop down menu. From here just go through the basic procedure of installing a new module, but use the template option. Click on “Add New Module Definition”, then select “Template” from the drop down, and click on “Install”.

Now you should see the new template for your Admin module. Click on the template, provide a description such as Web Stats, then in the Desktop Source textbox, we're going to point to where the admin module resides, in this example for the Web logs, point to “admin/log/SiteLog.ascx”, and leave the edit module empty. Then click on “Update” to install a pointer to the admin module.

Now when you go to any tab within your portal, you can select the newly installed Web Stats module into any page within your site and expose it to anyone using the built-in security of DotNetNuke.


Page Options:
format for printing  Format for Printer
email article  Email Page
add to your favorites   Add to Favorites
How would you rate the quality of this content?
Poor - - Excellent
Comments?
Overall Rating:
Comments Left:
Left on 4/25/2005 12:53:26 PM by Anonymous
Comments: Thanks... saved me a bunch of coding
Left on 1/12/2005 8:09:22 PM by Anonymous
Comments: There is no way to specify the source in the definitions in DNN2 - the dropdown field doesn't allow it.  Any other way to do this??
Left on 1/6/2005 2:58:12 PM by Anonymous
Comments: Excellent - Very Cool
Left on 9/29/2004 9:01:22 PM by Anonymous
Comments: Is there a solution for this yet in DNN2?
Left on 6/3/2004 11:31:24 AM by Anonymous
Comments: This does not work with DNN2 as no template drop down option
No ratings available.
Left on 5/25/2004 2:06:47 AM by Anonymous
Comments: Exact what I needed, thx Cathal.
//www.helheten.net
Left on 12/13/2003 12:43:06 AM by Anonymous
Comments: Very nice, thanks!!!!
Left on 12/6/2003 9:40:06 PM by Anonymous
Comments: Great info.  Thanks
Left on 12/3/2003 10:40:55 AM by Anonymous
Comments: Great tip!
Left on 11/24/2003 8:28:15 AM by Anonymous
Comments: This tip explains how I can extend most of the Admin features through module definitions.
Left on 11/13/2003 3:43:21 PM by Anonymous
Comments: just what I was looking for
Left on 11/10/2003 11:40:24 PM by Anonymous
Comments: good one
     
     

 

     
     

 


 


Digg This
 


DotNetNuke Platinum Benefactor

     
     

Other family network sites: santry.com - katieandkarleigh.com

Powered by 

 

     
Copyright 20010 - Santry Technology Solutions, Box 172, Girard, PA 16417, (814) 774-0970
Privacy Statement | Terms Of Use