After a member is registered via Safecracker Registration, how do I allow the member to update his/her Channel entry?
Safecracker Registration has the option edit_member="yes"
, so I created a Safecracker form with the fields I want members to be able to update. The opening tag is something like this:
{exp:safecracker channel="members" class="form-horizontal" edit_member="yes" error_handling="inline" id="profile_manager_about_me" include_jquery="no" return="/profile-manager/" safecracker_head="no"}
While the member is logged in and submits the Safecracker form, a field error is returned stating that the email
field is required (it's not one of the fields to be edited).
Is Safecracker Registration's edit_member="yes"
only supposed to be used when you are also editing member data along with possibly the Channel entry data? How can I edit just the Channel entry data?
Could I use the global variable member_id
to get the current member's entry in the Channel, then get that result's entry_id
(there should only be one, I think), then use the entry_id
as a parameter in the Safecracker tag pair? Seems convoluted?