Wiki source code of Skins

Version 42.3 by Vincent Massol on 2017/09/06

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 A skin is a visual organization of content for wiki pages. It's different from [[Color Themes>>extensions:Extension.Color Theme Application]] which are set of colors for the various elements of a skin.
6
7 = Skins in XWiki =
8
9 The latest version of XWiki bundles the following skins by default:
10
11 {{velocity}}
12 #set ($xwql = "from doc.object(ExtensionCode.ExtensionClass) as extension, doc.object(EXOExtensionCode.ExtensionClass) as exoextension where extension.type = 'skin' and exoextension.bundledWith like '%enterprise%'")
13 #set ($currentDb = $context.database)
14 #set ($dummy = $context.setDatabase("extensions"))
15 #set ($extensions = $services.query.xwql($xwql).execute())
16 #foreach ($extension in $extensions)
17 * [[${context.database}:$extension]]
18 #end
19 #set ($dummy = $context.setDatabase($currentDb))
20 {{/velocity}}
21
22 You can find the full list of existing skins on the [[Extensions wiki>>extensions:Extension.WebHome]].
23
24 = Screenshots =
25
26 Here are some screenshots of skins.
27
28 [[Flamingo>>extensions:Extension.Flamingo Skin]]
29
30 {{image reference="extensions:Extension.Flamingo Skin@flamingo.png" width="960"/}}
31
32 [[Colibri>>extensions:Extension.Colibri Skin]]
33
34 {{image reference="Colibri.png"/}}
35
36 [[Toucan>>extensions:Extension.Toucan Skin]]
37
38 {{image reference="Toucan.png"/}}
39
40 = Changing the Skin =
41
42 A skin can be changed at different levels:
43
44 * For the whole wiki
45 * For a given space
46 * For a given user
47
48 In order to change the skin at wiki and space level, the user has to be an administrator for the current XWiki instance. To find more about how to change a skin, check the [[Changing the Skin>>platform:AdminGuide.Skins#HChangingtheSkin]] section in the Admin Guide.
49
50 = More about XWiki Skins =
51
52 In order to find more about XWiki Skins, check the [[Skins Tutorial>>platform:AdminGuide.Skins]] from inside the Admin Guide and the [[Skins Tutorial>>platform:DevGuide.Skins]] from inside the Developer Guide.
53
54 = Skins eXtensions =
55
56 **Skins eXtensions** (or, abbreviated **SX**) are an alternative for developers who want to modify the layout and behavior of certain or all documents in their wiki without the need of changing its skin templates and/or stylesheets. The Skin eXtensions mechanism, available in all versions of XWiki superior to 1.5, provide the developers with the possibility of pulling extra stylesheets and Javascript files that are not bundled with the skin. You can find out more about Skin eXtensisions by reading the [[Skin eXtensions Tutorial>>platform:DevGuide.SkinExtensionsTutorial]] in the Developer Guide.

Get Connected