Display, Edit, and Save a Custom Attribute on Website

Permalink
I am new to PHP, I have been working on this for some time.

Can anyone provide me some simple example code of how to edit and save a custom user attribute?

I know how to display the code, but how can I let them edit and save it?

 
mesuva replied on at Permalink Reply
mesuva
Have a look at public profiles:
http://www.concrete5.org/documentation/using-concrete5/dashboard/sy...

The idea is that you can make user attributes editable by members via this profile page, it automatically add the fields, no programming required.

Note that when you are adding and configuring user attributes there are some extra checkboxes to control if the attributes are able to be edited, if they are required, etc.
http://www.concrete5.org/documentation/using-concrete5/dashboard/us...
jasonjb replied on at Permalink Reply
Right, but the problem is I need to be able to do it outside of that page.

I would just copy and paste the code from the profile/edit.php page or whatever but the code is not getting and saving specific elements. (Or is it? I can't tell by viewing it) It just seems to say load them all, allow all to be saved.

I really need to be able to place code on my page to edit specific parts of a user's attributes (when they are logged in)