7 votes

Profile Editor Macro

Compatible with version 4.x (includes 4.0 and 4.5)

Allows site members to edit there profiles on the website outside of the back office.

Usage:
 - Add profile property references in web.config (read below)
 - Insert macro on a secured page (for obvious reasons)
 - Done! (it's that easy)

Styled using back office .css files, but can be style anyway you like if you know CSS.

Uses actual datatype editor control so you can use your own controls.

Currently only handles textboxes, checkboxes, radio buttons, and dropdown lists.  Other controls will render and work fine, but they need to be handled in code to update profile.

Editing the Web.config:

 

Add the <profile> section under the <configuration>

Add your properties inside the <properties> tag inside the <profile> section.

Property name needs to be the same as the property Alias on the member type

Web.Config Example:

      <!-- Member Profile Provider -->

    <profile defaultProvider="UmbracoMemberProfileProvider" enabled="true">
      <providers>
        <clear />
        <add name="UmbracoMemberProfileProvider" type="umbraco.providers.members.UmbracoProfileProvider, umbraco.providers"/>
      </providers>
      <properties>
        <clear />
        <add name="firstName" allowAnonymous="false" provider="UmbracoMemberProfileProvider" type="System.String" />
        <add name="lastName" allowAnonymous="false" provider="UmbracoMemberProfileProvider" type="System.String" />
      </properties>
    </profile>

 

DON'T FORGET TO CHECK "Show in Profile" for every property you want to display!

Screenshots

Package owner

Daniel Bardi

Daniel Bardi

Daniel has 2540 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
8.2.x (untested)
8.1.x (untested)
8.0.x (untested)
7.15.x (untested)
7.14.x (untested)
7.13.x (untested)
7.12.x (untested)
7.11.x (untested)
7.10.x (untested)
7.9.x (untested)
7.8.x (untested)
7.7.x (untested)
7.6.x (untested)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Daniel Bardi
  • Created: 19/01/2010
  • Current version 1.1
  • License MIT
  • Downloads: 1942

External resources