How to let users select their preferred theme/skin?

I’d like my users to be able to select their preferred skin (dark/light i.e. Iceberg and Superhero). Is it possible?

Yes it’s possible, see https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Skins#HChangingtheSkinforauser

Thanks for the quick response. Is there any way to allow users to edit this property?

I don’t understand the question. Users can just follow https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Skins#HChangingtheSkinforauser

Do you mean something else?

If you’re talking about a specialized UI to do so, then no it doesn’t exist ATM.

I couldn’t find a jira issue about this so if that’s what you need, feel free to create an issue for it. Thx

1 Like

Thanks. Do I understand correctly that in order to use FlamingoThemes.Superhero theme for specific user I have to create a separate skin page that is a copy of this theme?

Sorry I was answering to the question about using a specific skin for a user. For themes, I don’t know if that’s possible to have a theme per user too. Needs to be tested.

Just try to do the same as for the skin but using the theme xproperty.

I think I’ve just found a workaround for this.

As admin I can choose editable fields in user profile in XWikiPreferences?editor=globaladmin&section=UserProfile. I added section with id: display and editable property skin. I’m testing this at the moment.

I can’t seem to find a theme property? At least not in the XWiki.XWikiUsers object ob the Userprofile.
Unfortunately, setting the Skin property to FlamingoTheme.Pantera doesn’t do anything.

So I guess chossing a THEME on user-level is not possible at the moment?
@dominik did you have any success?