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

Forum

Module Development - Settings Page
Last Post 2009-07-03 05:32 PM by Lee Sykes. 8 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Hunter McDonnellUser is Offline
Nuke Newbie
Nuke Newbie
Posts:9

--
2009-06-25 05: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 McDonnellUser is Offline
Nuke Newbie
Nuke Newbie
Posts:9

--
2009-06-26 02:52 PM  
Can anybody help me? Nuke Masters?
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9315
Avatar

--
2009-06-26 11: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 DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Hunter McDonnellUser is Offline
Nuke Newbie
Nuke Newbie
Posts:9

--
2009-06-30 05: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 CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9315
Avatar

--
2009-06-30 05: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 DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Hunter McDonnellUser is Offline
Nuke Newbie
Nuke Newbie
Posts:9

--
2009-06-30 08: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 SykesUser is Offline
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945
Avatar

--
2009-06-30 08: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/DNNCreative

Lee Sykes's Facebook Profile
Hunter McDonnellUser is Offline
Nuke Newbie
Nuke Newbie
Posts:9

--
2009-07-03 05: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 SykesUser is Offline
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945
Avatar

--
2009-07-03 05: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/DNNCreative

Lee Sykes's Facebook Profile
You are not authorized to post a reply.

Active Forums 4.3

Latest Forum Posts

PCI Compliance with PayPal integration by Aggiedan97
Recently it was brought to my attention that sites (companies of sites) that handle the selling of g
RE: Active Forums vs. DNN 6.2 CE by Joseph Craig
I haven't really previewed it, but my understanding is that pretty much everything except the "Mail
RE: horizontal main and submenu items by Joseph Craig
If you could show a page as an example, that would help. Basically, you can put multiple menus on
Active Forums vs. DNN 6.2 CE by Aggiedan97
Active Forums will no longer be offered with the debut of DNN 6.2 which is promising to integrate Ac
Google Analytics Module by Aggiedan97
I'm in need of providing a GA module that displays GA charts, graphs, and reports internal to DNN si
RE: horizontal main and submenu items by Dan Glanton
I'm not sure. One of the tutorials show using 2 horizontal menus with one being the submenu. This do
RE: Different search icon for each portal by Joseph Craig
Are you using the same skin in each portal? If so, and assuming that you are using the SiteIconURL
Different search icon for each portal by Bill Swanson
How do I use a different search icon for each portal in dnn 6.1.4?
RE: horizontal main and submenu items by Joseph Craig
Do your requirements fit with any of the available templates?
RE: horizontal main and submenu items by Dan Glanton
I went ahead and upgraded to the DDR to make sure I have the best updated menu possible. What I woul
RE: DNN 6.2 by Joseph Craig
The release notes that came with the beta version of the software should indicate if the version can
RE: horizontal main and submenu items by Joseph Craig
Part of the answer will depend on the menu that you are using in your skin. I strongly recommend th
DNN 6.2 by Sameer
Hi All i am using dnn 6.2 beta version for my demo site i need to custmize the 4 modules in that
RE: Deploying dnn by Sameer
Thanks a lot so kind of you
RE: Unable to Create Skin Package by schilders
Joe, When I click the Edit icon next to the skin package on the Host Extensions page, I receive t
horizontal main and submenu items by Dan Glanton
I found a very good tutorial on horizontal main and subitems in DNN Creative, but what about if you
RE: Skin creation - Menu questoni by Joseph Craig
This has to do with the structure of the elements that make up the skin and the CSS. Most likely, y
Skin creation - Menu questoni by CDMeyer
I have a skin and when I add more menu items to the nav bar than can fit in one row of nav, the seco
RE: FCK Editor in DNN 6 by Pingle2009
Just to follow on from Joe's reply, the 'official' line seems to be that not only that the old FCK E
RE: Slice a Site by Dan Glanton
Thanks, I'll look into that when I get a chance.
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds