Products

Solutions

Resources

Partners

Community

About

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!

User profile templates

Return to previous page

  • 4/7/2015
  • 19166 Views

Comments

19166 Views

User profile templates

Last updated long time ago

Comments

Common

(Enter the content of this article below)

Advanced

 
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 .

<div id="UserProfile">

<img alt="Profile Avatar" class="ProfilePhoto" width="120" height="120" src="[PROFILE:PHOTO]" />
<div class="ProfileAddress">
<div class="ProfileName">[USER:DISPLAYNAME]</div>
<div>[PROFILE:STREET]</div>
<div>[PROFILE:CITY], [PROFILE:REGION] [PROFILE:POSTALCODE]</div>
<div>[PROFILE:COUNTRY]</div>
</div>
<div class="ProfileContact">[PROFILE:TELEPHONE] [PROFILE:WEBSITE] [PROFILE:IM]</div><div style="clear:both;"></div>
<div class="ProfileBio">[PROFILE:BIOGRAPHY]</div>
</div>
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out