This is just what I am looking for for my project. However I could not get the control to render any profile properties:
I have created firstName and lastName textstring properties in my default MemberType (they are in a custom tab I created called "Profile")
I created a profile section in my web.config which matches your example (the key names are the same as my property aliases above)
I installed the package and created a template which included your Edit Member Profile macro
I created a "My Profile" page based on this template
However when I log in and visit this page, I only get the "Update Profile" button on the page, no form controls are being rendered. Is there something I am missing? If I click the button, I get "Profile update failed".
I'm testing on Umbraco 4.5.1 and am also not getting and fields to display :/ most likely user error since this is the first time i'm working with members...
There's nothing special about my installation; it's a clean Umbraco 4.5.2, and I'm using standard ASP.NET membership controls. There seems to be some setting or configuration keeping the fields from the editor. Not a big deal to resolve for me; I've made a custom profile editor, which we needed anyway.
I am using Profile Editor Macro to create members with details like first name,second name email etc.
I am experienced 2 problems.
1)First name and second name fields get cleared once Update Profile button is pressed.I have checked out the "Member can edit" option and I know from your comments in our.umbraco.org that this is the reason of the problem ,but I do not want the users to change these fields.
2.No change of fields content in Properties tab is reflected nor on Profile tab in Umbraco nor on website.
Could you please tell me how to fix these problems?
Just released the Profile Editor Macro. Please test on your site!
EVERYONE!
Please try the macro and let me know if it works for you.
Thanks
Hi Daniel,
This is just what I am looking for for my project. However I could not get the control to render any profile properties:
However when I log in and visit this page, I only get the "Update Profile" button on the page, no form controls are being rendered. Is there something I am missing? If I click the button, I get "Profile update failed".
web.config membership/profile code:
Snippet
Same issue here, same install as above poster.
I'll take a look at it later today... I'm sure it's just a mistake in my install process.
Thanks for the updates!
I didn't past the proper web.config settings:
Here's the fix!
Same problem for me - I have this in web.config, and I'm sure the property names match the property aliases.
<profile defaultProvider="UmbracoMemberProfileProvider" enabled="true">
<providers>
<clear/>
<add name="UmbracoMemberProfileProvider" type="umbraco.providers.members.UmbracoProfileProvider, umbraco.providers"/>
</providers>
<properties>
<clear/>
<add name="auth_guid" allowAnonymous="false" provider="UmbracoMemberProfileProvider" type="System.String"/>
<add name="first_name" allowAnonymous="false" provider="UmbracoMemberProfileProvider" type="System.String"/>
<add name="last_name" allowAnonymous="false" provider="UmbracoMemberProfileProvider" type="System.String"/>
</properties>
</profile>
When I click 'update profile' I do get an 'update succesful' message. Using a clean Umbraco 4.5.2.
Just tested a clean install .. no issues... can you explain your setup?
I'm testing on Umbraco 4.5.1 and am also not getting and fields to display :/ most likely user error since this is the first time i'm working with members...
There's nothing special about my installation; it's a clean Umbraco 4.5.2, and I'm using standard ASP.NET membership controls. There seems to be some setting or configuration keeping the fields from the editor. Not a big deal to resolve for me; I've made a custom profile editor, which we needed anyway.
To what extent is this important? i didn't notice it before...
Very important.. You must check the "Show on profile" for it to display... if the "Member can edit" is not checked.. the control with be diabled.
Good catch... I assumed that was a given.
Daniel: many of us are using "members" for the very first time when we try out this package ;)
I tried some more but i still didn't get this to work...
How i configured the Membertype:
The page template:
And the web.config:
The rendered page:
and the rendered source html:
Can you spot any more errors ?
Is the node secured?
Here's my web.config:
Currently properties need to be on a tab other than General Properties.
Create a new tab and move properties to it, then try again.
Be sure to check to show properties.
is working on a reply...