Create custom or not to create Custom?
Last Post 03/16/2006 6:17 AM by Lee Sykes. 1 Replies.
Author Messages
Darryl Wright
Nuke Newbie
Nuke Newbie
Posts:9


--
03/15/2006 6:37 AM  
Hi

I need some advise (pros and cons) of creating a new module vs. customising an existing module. Questions like "is the customisation going to affect future DNN updates and how","what are the things that must be taken into consideration when customising an existing module","how do I intergrate a new module that deals with registration and login into the current DNN framework", arise when I contemplate this question. DNN is fairly new to me and what I need to do for my site is to add and remove some registration fields, and change the login module to ask for the users mobile number and password.

Any and all comments welcome and will be appreciated.

Thanks

Darryl
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
03/16/2006 6:17 AM  
Hi Darryl,

If you need to adjust core functionality I would create a completely separate module so that future upgrades will be easy and painless. - eg. for creating a custom registration form.

If however you wish to customise an existing module such as the links module, there is no reason why you can't copy this modules code and rename it to your own module so that this module is also completely separate. - This way in any future upgrades, a new version of the links module will not wipe over your own version of the links module.

You may also want to check out this module (I haven't used it so I can't comment on it's functionality):
User Attributes - It allows you to create your own forms and choose your own registration options:
http://dnn310.ucanuse.com/PortalMod...fault.aspx

I would also check out this post which discussed http://www.dnncreative.com/Forum/ta...fault.aspx">customising the DNN registration module
the principles outlined here will also apply for customising the login module.
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


---