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:5354


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:5354


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:5307


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:5307


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

Query On Dynamic Form Module by prithviraj
The source element with id dnn$ctr407$DynamicForms$imgMove_48b21a63-ca5a-425d-90ca-599a6e7d51e6 does...
RE: Folder permissions by saintX
Thanks for your answer Rashid! May you please kindly let me know - Which folders - AND for whom...
DNN with Javascript Disabled by aptrivedi
Hi All,I have found my self in bit of trouble.As per my application requriement, i need to handle th...
RE: Change Registration Redirect? by ollep
Well, that sounds good Lee.But I just spent $150.00 and a few days learning the Dynamic Forms  - bec...
RE: Folder permissions by Kazi
Hello FW, The easiest way to set permissions is your control panel, Log in to your CP, click on y...
Folder permissions by saintX
Hello, Can I set the folder permissions on the remote server myself using DW or WVD? If possi...
RE: How to do links? by Guy..L
It's really hard to tell quite how awesome DNN Nav v2 is given the documentation and search results ...
Regarding Editor by prithviraj
Pls let me know whar folders we need to upload when we are changing editors. Suppose i have cute edi...
RE: Change Registration Redirect? by leesykes
It would be best to use Dynamic Registration to avoid 2 registrations.With Dynamic Registration you ...
Indexing DNN pages by Google by Jake Vizner
I have two different DNN web sites. Using Google Webmaster Tools I can see the Google indexed 12 out...
Query Regarding RAD EDitor by prithviraj
Hi, I'm using R.A.D editor in my site. At the time of adding images through the editor I'm unabl...
RE: while installing bulk emailer module in my website by jncraig
Yes, this definitely is a file permissions issue. The default ASP.NET worker task needs to have ful...
RE: Background Music by jncraig
That will work.
RE: Auto create pages and content by dhassall
Hi Joe DNN Out of the box version 4.9 Login as Host with Firefox to create and IE8 to monitor, CTR...
RE: while installing bulk emailer module in my website by dub
Agiline, We have seen this problem before. It is caused by the Security on IIS. Please have a loo...
RE: Change Registration Redirect? by ollep
Probably still want to do it with Dynamic Forms now.My reason for changing (except from getting Aweb...
RE: Change Registration Redirect? by ollep
YES!http://www.dnncreative.com/Subscribe/tabid/81/Default.aspx
RE: Change Registration Redirect? by ollep
Yes I noticed that we where talking about 2 different Modules as soon as I dug into the tutorials.Ab...
RE: Change Registration Redirect? by leesykes
If you are check out the links that I have placed in there:http://www.dnncreative.com/Subscribe/tabi...
RE: Change Registration Redirect? by leesykes
Are you referring to when subscribing there is a link to register and after they register it sends t...
DNN Creative Subscribe
RSS Feeds