Saturday, February 04, 2012   Click here to search  
Welcome: Register | Login
You Are Here » Forums
 
Orlando DotNetNuke® Users Group (ODUG) Forums
 
 
HomeHomeGeneralGeneralDiscussionsDiscussionsCustom Module that Creates a DNN Page (Simple)Custom Module that Creates a DNN Page (Simple)
Previous
 
Next
New Post
10/6/2009 7:29 PM
 

Hi:

I would like to create a custom module that allows the user to create a new dnn page like a simplified ManageTabs control (located in admin\Tabs\managetabs.ascx). The user only needs to set Page Name, Parent Page, and Permissions, as well as other non ManageTabs functioniality. What is the best way of accomplishing this? What is the simplest way to accomplish this?

This is for the lastest 4.9 version of dnn.

Charlie Teague

 
New Post
10/7/2009 9:49 AM
 

Whenever I implement functionality that already exists within DNN, I always look at the source of DNN to either copy, inherit, or reuse that same functionality for stability purposes. In your case, I would pull just the chunks of code necessary to accomplish your task, and wrap that in your own module. Does that make sense?

 
New Post
10/7/2009 1:21 PM
 

Will,

Thank you for the advice. I may try pulling out the parts of the code that I need, as you suggested. I was considering extending the managetabs class, but the fuction I need to call is private, which means that I would have to change the core by changing the function to protected.

Thinking outside the box, in that because the implementation is only for one client (very specific), I might require that the managetabs control is on the same page as the module that I am writing, and call the update for managetabs with javascript.

I will wait until tommorow before making the changes, so I will let you know how it turns out at our next ODUG meeting.

 
Previous
 
Next
HomeHomeGeneralGeneralDiscussionsDiscussionsCustom Module that Creates a DNN Page (Simple)Custom Module that Creates a DNN Page (Simple)


 
     
 
Forum Policy
 
 

These Forums are dedicated to the discussion of the Orlando DotNetNukeUG Users Group surrounding the kindred usage of DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the UG, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 
     
Terms Of Use | Privacy Statement
© 2008-2011 Orlando DotNetNuke® Users Group (ODUG)
DotNetNuke® Powered! v5.6.3.45
DotNetNuke® Powered! v05.01.00
Skin designed by Will Strohl
Website hosted by Applied Innovations
Orlando DotNetNuke® Users Group
DotNetNuke® is a registered trademark of the DotNetNuke® Corporation