DotNetNuke has long supported User Profile Properties
, and allowed site administrators/hosts to determine what fields are necessary for site registration/usage. These can be accessed under the admin->user accounts menu by clicking manage profile properties. However one draw-back was that profile details were in a simple list and did not support rearranging or styling. With the 5.4.0 release, DotNetNuke added the ability to alter the template used for the user profile details of site users. This is now controlled by the view profile module, an instance of which is automatically added to each portal.
If a host or site administrator wants they can configure this by logging in, clicking on their username to access their profile, and then editing the settings of the module. In the module settings, a section called "View Profile Settings" can be seen which contains the template used. It consists of HTML and Tokens
, and can be easily updated/styled as desired.
An example of the default template can be seen below - the values in the square brackets are Tokens
<img alt="Profile Avatar" class="ProfilePhoto" width="120" height="120" src="[PROFILE:PHOTO]" />
<div>[PROFILE:CITY], [PROFILE:REGION] [PROFILE:POSTALCODE]</div>
<div class="ProfileContact">[PROFILE:TELEPHONE] [PROFILE:WEBSITE] [PROFILE:IM]</div><div style="clear:both;"></div>