Jump to main content Jump to doc navigation


Chunk for display and edit user profile.

<form action="[[~[[*id]]]]" method="post" class="form-horizontal">
    <div class="control-group[[+error.username:notempty=` error`]]">
        <label class="control-label">???</label>
        <div class="controls">
            <input type="text" name="username" value="[[+username]]" />
            <span class="help-inline">[[+error.username]]</span>

    <div class="control-group[[+error.fullname:notempty=` error`]]">
        <label class="control-label">?????? ???</label>
        <div class="controls">
            <input type="text" name="fullname" value="[[+fullname]]" />
            <span class="help-inline">[[+error.fullname]]</span>

    <div class="control-group[[+error.email:notempty=` error`]]">
        <label class="control-label">Email</label>
        <div class="controls">
            <input type="text" name="email" value="[[+email]]" />
            <span class="help-inline">[[+error.email]]</span>
    <input type="hidden" name="action" value="updateProfile" />
    <div class="form-actions">
        <button type="submit" class="btn btn-primary">Update profile</button>
[[+success:is=`1`:then=`<div class="alert alert-block">Profile was successfully updated</div>`]]
[[+success:is=`0`:then=`<div class="alert alert-block alert-error">Error on profile update</div>`]]


Placeholders from modUser and modUserProfile.

See Also

  1. Loginza.Loginza
  2. tpl.Loginza.login
  3. tpl.Loginza.logout
  4. tpl.Loginza.profile

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.


  • modmore
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Digital Penguin
  • Dannevang Digital
  • Sepia River Studios
  • Chris Fickling
  • CrewMark
  • deJaya
  • Following Sea
  • Anton Tarasov
  • eydolan
  • Raffy
  • Lefthandmedia
  • Murray Wood
  • Snow Creative
  • Nick Clark
  • Helen
  • JT Skaggs
  • krisznet
  • YJ
  • Yanni
  • Richard


$370 per month—let's make that $500!

Learn more