Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.user.center.profile.layouts--layouts

This contribution is part of XML component org.nuxeo.ecm.user.center.profile.layouts inside nuxeo-user-profile-5.6.jar

Extension point

Extension point layouts of component WebLayoutManager.

Contributed items

  • <layout name="summary_user_profile_layout">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>summary_user_profile</widget>
            </row>
          </rows>
        </layout>
  • <layout name="userprofile">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
    
          <rows>
            <row>
              <widget>avatar</widget>
            </row>
            <row>
              <widget>birthdate</widget>
            </row>
            <row>
              <widget>phonenumber</widget>
            </row>
            <row>
              <widget>gender</widget>
            </row>
          </rows>
        </layout>
  • <layout name="summary_user_preferences_layout">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>summary_user_preferences</widget>
            </row>
          </rows>
        </layout>
  • <layout name="userpreferences">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
    
          <rows>
            <row>
              <widget>locale</widget>
            </row>
            <row>
              <widget>timezone</widget>
            </row>
          </rows>
        </layout>

XML source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="summary_user_profile_layout">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>summary_user_profile</widget>
        </row>
      </rows>
    </layout>

    <layout name="userprofile">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>

      <rows>
        <row>
          <widget>avatar</widget>
        </row>
        <row>
          <widget>birthdate</widget>
        </row>
        <row>
          <widget>phonenumber</widget>
        </row>
        <row>
          <widget>gender</widget>
        </row>
      </rows>
    </layout>

    <layout name="summary_user_preferences_layout">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>summary_user_preferences</widget>
        </row>
      </rows>
    </layout>

    <layout name="userpreferences">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>

      <rows>
        <row>
          <widget>locale</widget>
        </row>
        <row>
          <widget>timezone</widget>
        </row>
      </rows>
    </layout>

  </extension>