Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Need to customize the Register controlNeed to customize the Register control
Previous
 
Next
New Post
8/4/2007 5:02 PM
 

Hi.

I'm facing quite a problem. I need to customize the Register control layout in the following manner:

  1. Instead of one column, the controls (FirstName, LastName, Email, etc) need to be shown on two colums
  2. Following the same layout a dropdown, a radio button group and some extra textboxes need to be added

Up until now I've reached to the admin/Users/user.ascx control and it's DataBind method, and from here to the PropertyEditorControl's DataBind, and I saw that here is built a table.

So, the only solution I see at this moment is to modify the PropertyEditorControl's method, but I think this must be the last resort because surely this control is used in lots of places, and I also saw recommendations that core modules should not be modified. And for 2. I see only adding them insedie user.ascx following the EditUser PropertyEditorControl.

Or, should a new custom Register control be created?? Would be hard to integrate it?

If someone has a better ideea, please share it with me...

Also, since I am here, generally speaking, when you have to modify existent modules (e.g. Forum module - I have to customize it also), what's the best practice, because I imagine that the developer which is extending DNN should change as less as he can of the core functionality of the DNN.

Many thanks guys

 

 
New Post
8/5/2007 11:36 AM
 

If possible,I recommend don't change the core.

As for customize the register control.  we use another way to handle it.

1:Create a new module

2:Copy related file(code) ,modify as need

3:Add this new module to page.


Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
8/5/2007 12:19 PM
 

Hi.

Thanks for the quick answer.

Steps 2 and 3 are not that clear to me.

2. Copy the already existent admin/users/manageusers.aspx?? Where to copy it ? In DesktopModules, where the newly created module is?

3.How can a module (added into a page) be shown instead of the usual Registration page after the user presses Register - we get to changing core code again.

Please provide little more details if you can.

Is quite possible that I'm missing something here, I'm quite new to DNN.

 

Thanks again

 
New Post
8/6/2007 2:03 AM
 

Ok,here is what I have done for customize user register control

1:Create a module ,name it as CustomizeRegister.

2.Copy admin\users\manageusers.ascx and manageuses.ascx.vb to DesktopModues\CustomizeRegister

3.Change both ascx and vb source code to meet what we need.

4.Install this module,add it to page,then under "Site Settings - Advanced Settings - Page Management ",set user page to this page.

5.That all ,now if people click register or modify his profile. he will be navigate to this page.

          Of course .  using this way require you are familiar with DotNetNuke module development.  Search this forum for more information ( Michael Washington  has many useful articles about this).


Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
8/6/2007 3:23 AM
 

Got it.

Is working exactly the way you said

Many thanks and happy coding.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Need to customize the Register controlNeed to customize the Register control


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out