You need to Register for free and Login to post a message in the forum.

Forum

Subject: Module Development - Settings Page
Prev Next
You are not authorized to post a reply.

Author Messages
Hunter McDonnell
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:6

25 Jun 2009 12:15 PM  
Hi All.

I'm developing a custom module for DNN (4.9.4) as a method of learning the framework well. I'm close to finished, but I'm stuck on the settings.ascx page.

I've used the DotNetNuke starter kit to create a module, and that got me going a long way. I've implemented ISearchable, IPortable, and IActionable on the base module, I've integrated into the database and have full view/edit capability. I've added custom actions successfully. I've fully modified the controller, data provider, etc. to do this and I'm comfortable with that. I've modified the View & Edit .ascx files (including code-behind) and have a good understanding of those as well.

BUT... with the settings page... it seems it's NOT loading the module's custom settings asp control when I click on it. It's not visible or present. I found that the settings must inherit from Entities.Modules.ModuleSettingsBase and the wizard did this correctly, I think. There is a "LoadSettings()" and an "UpdateSettings()" functions that are overridden with the wizard's code (I haven't modified them). I've done nothing to touch the settings module but it's not showing up.

I then added a control to the asp page to see if that control would show up anywhere on the settings page when loaded -- it hasn't.


I've tried googling everywhere on how to get the Settings.ascx page to show up in DotNetNuke but can't seem to find any helpful information on it. I get the feeling it should just 'work' and if it doesn't, something got messed up. I haven't been able to find enough info on HOW this works to drill down and find out what might have been broken (if anything).

Anything you could help me with here would be mighty helpful.

Thank you!

John
Hunter McDonnell
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:6

26 Jun 2009 9:52 AM  
Can anybody help me? Nuke Masters?
Joseph Craig
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5345


26 Jun 2009 6:41 PM  
The best advice that I can give is that you should look at adefwebserver.com and also Mitchel Sellers' book on module development.

Joe Craig
DNN Creative Support
Subscribe to the website
Hunter McDonnell
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:6

30 Jun 2009 12:25 PM  
Thanks for replying... but it's not that helpful.

We paid to be a member of this site -- to get help on learning DNN as well as troubleshooting on the forums. It's not a lot of help to be told to go somewhere else (the answer is not on adefwebserer that I could find except with how to leverage DNN's module settings, which doesn't describe how to get your controls put into the settings page), and possibly have to go out and buy a book.

I was hoping somebody who is much more experienced has actually implemented custom settings for a module and might be able to point me in the right direction. As far as I can find, there is NO tutorial on how to implement custom module settings.

I suppose we could go out and buy the book if you think it'll solve our problem, but really I was hoping many of the experienced people here would have encountered this before.

John
Joseph Craig
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5345


30 Jun 2009 12:32 PM  
John,

Im sorry that my answer wasn't helpful.  DNN Creative's focus is on the user/administrator side of DotNetNuke, and we really don't focus on module development.  That is a somewhat specialized area and is more suited to developers.

I have module development experience, but it is not extensive.  That is why I suggested some resources that are aimed at developers.  There are also forums at the DotNetNuke.com site where many developers hang out.

Joe Craig
DNN Creative Support
Subscribe to the website
Hunter McDonnell
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:6

30 Jun 2009 3:11 PM  
Oh! Okay. Sorry. I suggested to my company to purchase this membership to maintain and expand our website (it was built on DNN a while ago and needs some overhauling). I thought it was a more comprehensive site than just the admin side. Oops. Thanks for your help! John
Lee Sykes
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5302


30 Jun 2009 3:33 PM  
Hi John,

If you do not think the DNN Creative site will be of use, contact me direct and I can arrange a refund for you no problem, however there are a lot of tutorials on here that should help you such as with skinning and maintaining your site outside of the general everyday DotNetNuke admin.

Here is a list of all the tutorials we cover

Please feel free to e-mail me direct, thanks,

Lee

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
Hunter McDonnell
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:6

03 Jul 2009 12:06 PM  
Hello Lee.

No thanks -- I have still earned value from this site. I did quite a few 'video' tutorials to get up-to-speed on what DotNetNuke was and how to get things going. It may still continue to be useful.

And, for those still reading after my original question, here's the answer:

A module defintion for a settings page must have they key of 'Settings' --> EXACTLY <-- or it won't be found by the DNN framework.
Ditto for edit pages ... the must have a key of 'Edit'

I fluked out on Edit (named it right), but not on settings.

Thanks all!

John
Lee Sykes
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5302


03 Jul 2009 12:32 PM  
thanks for letting us know the solution and if there's anything else we can help out with please let us know, cheers,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Module Development - Settings Page



ActiveForums 3.7

Latest Forum Posts

RE: Run exe/dll from DNN? by jncraig
I did this several years ago, so I think that what I found must have been in the "Professional DotNe...
RE: Run exe/dll from DNN? by ollivogt
excellent!!! scheduled task looks good - do you have any hint where to start the search? Many tha...
RE: Employee Absent Indicator by dkemp@karrtuttle.com
I suppose I could do an Events module with everyone's vacation schedule in there. Then the receptio...
RE: Run exe/dll from DNN? by jncraig
Do you want to do this on a schedule, or in response to an event such as a mouse click? If the fo...
Run exe/dll from DNN? by ollivogt
Hello, is it possible to run an external application from within DNN - for instance doSomething.d...
Employee Absent Indicator by dkemp@karrtuttle.com
Hello everyone. Our new DNN intranet is going well. It's a good indication of success, I think, wh...
RE: Request Tutorial on using Flash by robmacker
Hey Joe. Well, i want to get the accompanying flash file working. It uses javascript only to confirm...
RE: Flash in the HTML Module by jncraig
I commented on another post you made. Here is some more. You probably will be more successful if...
RE: Fun? with styling of Home.aspx by jncraig
You can also warn bloggers to use the Paste from Word tool.  It's often helpful.  For major things, ...
RE: Fun? with styling of Home.aspx by jncraig
You can also warn bloggers to use the Paste from Word tool.  It's often helpful.  For major things, ...
RE: Request Tutorial on using Flash by jncraig
I usually use DigFlash, a free module, when I want to put a flash file on a page. It's quite simple...
RE: Skin missing banner and menu when ctl is used in the url by jncraig
Can you point me to a specific page on the site and particular problem?
Request Tutorial on using Flash by robmacker
Either the one's that know how to do it are keeping quiet or there just isn't enough general knowled...
RE: Links Directly To Files With Login Prompt by jncraig
It's probably easier to put links to the protected files on a protected page. Then, email the link ...
RE: DNN Live site not displaying by jncraig
If this is not a large site, you can do a fresh install and start from there.   Since you have the b...
RE: Server Error in '/' Application. by jncraig
You will want to make that change to web.config and see if you can get some more details.
RE: Server Error in '/' Application. by michellb
Here is the entire text on the page: Server Error in '/' Application. Runtime Error Descrip...
RE: DNN Live site not displaying by michellb
Yes, I can access the data in my database. The web.config file is setup with the correct connection...
RE: DNN Video Player module by acandael
great module. I had trouble playing an .mp4 movie. After purchasing and installing the DNN Video Pla...
Links Directly To Files With Login Prompt by ALPAdnnUser
Is there any tool/module that is out there that will let me email a link to a file (that is secured ...
DNM Rapid Application Developer Trial Version
RSS Feeds