Wiki source code of Change the Skin of a User
Last modified by Eleni Cojocariu on 2026/09/23 14:52
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Give one user a skin of their own, the [[skin level>>doc:documentation.xs.admin.skins.levels.WebHome]] that wins over the page's and the wiki's, with edit right on their profile and the **Advanced** user type. | ||
| 2 | |||
| 3 | 1. Go to the user's profile page, open the menu next to the "Edit" button and select "Objects":((( | ||
| 4 | {{image reference="user-profile-edit-objects-menu.png" size="extra" alt="The profile page of John Smith with the Edit menu open, Objects between Access Rights and Class"/}} | ||
| 5 | ))) | ||
| 6 | 1. Expand the object of type ##XWiki.XWikiUsers##, then set its "Skin" property to one of the [[skins the wiki can use>>doc:documentation.xs.admin.skins.available.WebHome]]. The field suggests pages of the wiki rather than skins, so type the skin's name and pick the "Select ..." entry it offers:((( | ||
| 7 | {{image reference="user-object-skin-property.png" size="extra" alt="The Skin property of the XWiki.XWikiUsers object, empty, between Time Zone and Avatar"/}} | ||
| 8 | ))) | ||
| 9 | 1. Click "Save & View". | ||
| 10 | 1. Reopen the Objects editor and check that the "Skin" property holds the skin you chose. Every page this user opens is displayed with it from now on:((( | ||
| 11 | {{image reference="user-profile-skin-applied.png" size="extra" alt="The Skin property of the XWiki.XWikiUsers object holding flamingo after saving"/}} | ||
| 12 | ))) |