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 06: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 06: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 03:52 PM  
Can anybody help me? Nuke Masters?
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9005
Avatar

--
2009-06-27 12:41 AM  
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 06: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:9005
Avatar

--
2009-06-30 06: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 09: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 09: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 06: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 06: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

Enforce Terms Tutorial Update by Vistalogix Corporation
I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
RE: Best Practices for Modifying a Custom Module by Joseph Craig
Start up the development website, then install the module using the package that you have. Then, yo
Best Practices for Modifying a Custom Module by schilders
Good Morning, I'm needing to modify a custom built module created by another developer targeted f
RE: Admin menu problem by alireza arabiyan
hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
RE: Admin menu problem by Joseph Craig
Yes, that is what you should have done. What is the URL for your home page? What is the URL for
RE: Admin menu problem by alireza arabiyan
hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
RE: Admin menu problem by Joseph Craig
How did you move it? Have you added an entry in the portalalias table for the site's domain name?
RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
Set up a user with dbo privileges and set the connection string for that user, rather than using Win
Re: SQL SERVER 2008 R2 Remote connection by Prakasam Srinivasan
I have successfully configured MSSQL Server 2008 r2 remote connection. I am using windows 7 and it h
Admin menu problem by alireza arabiyan
hi i installed dnn 6 on localhost and move it in my host, all link's , pages and modules are ok,
RE: dnn 4.4 upgrade issue by imran shaikh
Thanks you all it is done by renaming release.config to web.config procedure
RE: dnn 4.4 upgrade issue by imran shaikh
Thanks you all it is done by renaming release.config to web.config
dnn 4.4 upgrade issue by imran shaikh
hi this is imran i am upgrading dnn 4.4 to dnn 6.0.2 and getting this error please help me for this
RE: How to build Skins for DNN 6.x by Joseph Craig
I'd recommend that you try replacing the hard-coded text with the DotNetNuke Text skin object. That
RE: Module permission does not work! by Joseph Craig
What permissions have you give to that role?
RE: DNN nav issue by Joseph Craig
Are you using a custom skin? How often does this happen?
RE: Friendly URLs Broken by Joseph Craig
I don't entirely understand this, but I'm glad you got things working.
RE: How to build Skins for DNN 6.x by Christopher Adamakis
Dear all, I have one more question regarding greek fonts. If you check my site http://www.expertsoft
RE: Dnn local setup problem by imran shaikh
this is error is resolve now now getting this one Server Error in '/cooperpharma.ma' Applicat
RE: Module permission does not work! by Abraham Tameru
I created a special role for the user to administer the site. The user is not a member of the Admini
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds