Having worked with DotNetNuke since Version 1.0 and before I have seen many changes within the framework. One of the changes that I liked but found it to be repetitive was when working with the registration tools, we had this field called Display Name that was always asking for input in the form.
This image shows the display name as a required field. I understand the need for this as we want to display a user’s preferred name to them when they login, but it is also nice being able to set this to our own predetermined fields as well. Well this can be done within the framework, with the added bonus that the display name will now not be part of the registration process.
To accomplish this, lets walk through the process.
Remove the display Name
- Login to the portal as an administrator
- Go to Admin –> User Accounts
- Click on User Settings either at the bottom of the module or in the drop down menu for the module.
- Locate the Display Name Format field near the bottom of the user settings
- Place the following within the textbox [FIRSTNAME] [LASTNAME]. This will set the display name to the first and last name of the user that is registering.
- Click the update button at the bottom of the module.
- Log out of the portal as administrator and then click on the registration link. The Display Name field should now not be visible in your registration form.
This makes for a consistent naming scheme for wherever the Display Name field is used within your portal as well as allowing the field not to be required during registration when having new users register.
If you have any comments or other suggestions about tips you would like to see about DotNetNuke please leave them in the comments below.