Adding Fields to allow editing of data

Discussion in 'Customization & add-ons' started by dereck_j2, Jan 30, 2007.

  1. dereck_j2

    dereck_j2 Member

    Joined:
    Aug 22, 2006
    Messages:
    42
    Hi All

    aMember Ver 3.0.8. Pro

    I am trying to add some custom fields to the profile.html template. I have created the custom fields in "add fields" from the control panel and also have the field attribute "don't display in profile" set.

    The code I am using for a field insert is:

    <input type="text" name="mobile" class="pinsearch" value="{$user.mobile|escape}" size="30" />

    I can load a form which displays the content of a record, I have a button on the page which directs the user to the "profile" page. When the "profile" page loads none of the data is displayed in the custom fields.

    I have played around with this all night with no resolution. Can anyone help please

    Kind regards, keep safe and well.

    Dereck
  2. draj

    draj New Member

    Joined:
    Dec 29, 2006
    Messages:
    252
    Hi!

    So SET

    Setup/Configuration> Global > Use Address Info

    to

    YES.
  3. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Please use
    {$user.mobile|escape}"
    instead of
    {$user.data.mobile|escape}"

Share This Page