Wiki source code of Customize the User Profile Tab
Last modified by Eleni Cojocariu-testing account on 2026/08/24 21:13
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | The Profile tab of every user profile displays the same fields, grouped into the same sections and configured once for the whole wiki as part of [[user administration>>doc:documentation.xs.admin.user.WebHome]]. To change them: | ||
| 2 | |||
| 3 | 1. Add the properties you want to display to the ##XWiki.XWikiUsers## class in the [[Class editor>>doc:documentation.xs.user.base.page.edit-page.edit-class-editor.WebHome]], if they do not exist yet.((( | ||
| 4 | {{image reference="add-class-property.png" size="extra" alt="A new property being added to the XWikiUsers class in the Class editor"/}} | ||
| 5 | ))) | ||
| 6 | 1. Open the wiki administration and go to "Users & Rights" > "User Profile".((( | ||
| 7 | {{image reference="user-profile-section.png" size="extra" alt="The User Profile entry of the Users & Rights category in the Administration menu"/}} | ||
| 8 | ))) | ||
| 9 | 1. List in "Section IDs" the sections the Profile tab must display, in the order they should appear.((( | ||
| 10 | {{image reference="displayed-sections.png" size="extra" alt="The Section IDs field listing the sections the Profile tab displays"/}} | ||
| 11 | ))) | ||
| 12 | 1. Set each section's "Section Properties" to the ##XWiki.XWikiUsers## properties it must show.((( | ||
| 13 | {{image reference="section-properties.png" size="extra" alt="A section with its identifier, its name and the class properties it displays"/}} | ||
| 14 | ))) | ||
| 15 | 1. Click "Save". | ||
| 16 | 1. Notice that the Profile tab of every user profile now displays the sections and fields you configured.((( | ||
| 17 | {{image reference="profile-tab-customized.png" size="large" alt="The Profile tab of a user profile showing the configured sections and fields"/}} | ||
| 18 | ))) |