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.0Question regarding Registration screen or basic profileQuestion regarding Registration screen or basic profile
Previous
 
Next
New Post
4/3/2007 4:38 PM
 
In past I had worked on Dotnetnuke v3.x. I start exploring DNN 4.4.1 today and found major work done to have custom user profile. All these changes are not reflected in the documentation.
Particularly I was trying to nail down how registration page shows following fields:
User Name
First Name:
Last Name:
Display Name:
I looked under admin\controls\user.ascx control, which has txtFirstName, txtLastName, txtUserName…txtWebSite and txtIM fields.
I also looked in the Admin->User Accounts->User Settings and found one can add/remove custom profile attributes.
I did not see Display Name attribute? Which control add the Display Name field to the registration page. To better understand the flow of registartion/custom profile showing/hiding attributes. Could someone point out the right spots in the code or threads on the forum to better understand the work flow.
many thanks,
sgill
 
New Post
4/9/2007 7:04 PM
 

I want to do similar work. I tried to edit "user control", but problem is... changes i make in code of admin\controls\user.ascx control are not getting reflected in application. Its appearance remains same as default. In short, i want to fully customize registration page. Any help will be much appreciated.

 
New Post
4/9/2007 11:28 PM
 

DNN has defined a small group of fields as - REQUIRED.

As a result you cannot change or alter the appearance or layout of those fields in the standard registration module.

The rendering and display of all the fields on the standard DNN rego page are controlled by the PropertyEditorControl.

Westa

 

 
New Post
4/9/2007 11:31 PM
 

There is very little that you can do by editing user.ascx to control layout since none of the real LAYOUT of the rego page occurs inside user.ascx

Instead all the field layout happens inside the properly editor control tag -

<dnn:propertyeditorcontrol id="UserEditor" runat="Server"
 enableClientValidation = "true"
 sortmode="SortOrderAttribute"
 labelstyle-cssclass="SubHead"
 helpstyle-cssclass="Help"
 editcontrolstyle-cssclass="NormalTextBox"
 labelwidth="125px"
 editcontrolwidth="150px"
 width="275px"
 editmode="Edit"
 errorstyle-cssclass="NormalRed"/>

Have a look inside /library/Controls/PropertyEditor   PropertyEditorControl.vb  for starters.

Westa

 
New Post
4/9/2007 11:34 PM
 

PS - if you really want to control the exact layout and nature of your sites registration page - then the best bet is to either look at a 3rd party rego module - there are a couple on snowcovered.

Or sit down and code your own - the rego process itself is really quite straight forward ... and you can hack most of the code out of the Update section of the existing rego module UPDATE / SAVE code.

Then you can have any layout you want for your own module

Westa

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Question regarding Registration screen or basic profileQuestion regarding Registration screen or basic profile


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