:: Professional ::
 
You are here: Blog
 

Hilbert Solutions, LLC Latest Dotnetnuke Modules...

Advanced News Ticker        Constant Contact Sign Up

 

Blog
Oct21

Written by:slhilbert
10/21/2008 6:28 PM RssIcon

Dotnetnuke allows you to create your own customize profile fields for your users.  One of the Data Types that is available to you when you create a new profile property field is the type of List.

To use the list data type you need to do the following:

  1. Login as a user with Host level access.
  2. Go to Host and then click on Lists in the Menu.
  3. Create a new list and be sure to name the list the same name as you want the list of Items to appear in the profile form.  For example I have a list named "Salutation" which has such items as Mr. Mrs. Dr. etc.
  4. Create a new profile field under the User Accounts and name the profile field exactly as you named your list you created.  aka Salutation.
  5. Now when you fill out the profile form you will see a dropdownlist of the values in the list you created.

 

4 comment(s) so far...


Re: Utilizing the List Data Type with Dotnetnuke Custom Profile

how to make the profiel property read only

By tt on  10/22/2008 9:50 AM

Re: Utilizing the List Data Type with Dotnetnuke Custom Profile

For the time being you can't actually create a "Label" type control. However, in theory you should be able to create a RichText type and then put in HTML that will display information and prevent it from being edited. I haven't tried this myself, but it is what I would try if I was doing this.

By Stuart on  10/27/2008 6:58 AM

Re: Utilizing the List Data Type with Dotnetnuke Custom Profile

I want to use a dropdown as a child from other list, like Region/Country, but is not working properly. Is this feature working fin in DNN?
(I created a list and identified parent list and parent value, but the child list is showing all the possible values for all the parent values)
Thanks,
Fabian

By Fabian on  10/30/2008 12:49 PM

Re: Utilizing the List Data Type with Dotnetnuke Custom Profile

Fabian,

The country type is a special control that was built to do what you describe. It isn't enough to create the list, you need to build a control that will mimic the the way the country control works. The good news is that since DNN is Open Source, you will not have a problem finding how it is built.

By Stuart on  10/30/2008 12:51 PM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment  Cancel 
Search Blog
Blog Archive
Terms Of Use| Privacy Statement Hilbert Solutions, LLC Since 2007