Wiki source code of Skins

Version 28.4 by Thomas Mortagne on 2012/02/29

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}}
2
3 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.
4
5 = Skins in XWiki Enterprise =
6
7 The latest version of XWiki Enterprise bundles the following skins by default:
8
9 {{velocity}}
10 #set ($xwql = "from doc.object(ExtensionCode.ExtensionClass) as extension, doc.object(EXOExtensionCode.ExtensionClass) as exoextension where extension.type = 'skin' and exoextension.bundledWith like '%enterprise%'")
11 #set ($currentDb = $context.database)
12 #set ($dummy = $context.setDatabase("extensions"))
13 #set ($extensions = $services.query.xwql($xwql).execute())
14 #foreach ($extension in $extensions)
15 * [[${context.database}:$extension]]
16 #end
17 #set ($dummy = $context.setDatabase($currentDb))
18 {{/velocity}}
19
20 = Screenshots =
21
22 Here are some screenshots of recent skins.
23
24 [[Colibri>>extensions:Extension.Colibri Skin]] ((([[image:Colibri.png]])))
25
26 [[Toucan>>extensions:Extension.Toucan Skin]] ((([[image:Toucan.png||style="border:1px solid black;"]])))
27
28 {{id name="3c4" /}}
29 = Changing the Skin =
30
31 A Skin can be changed at different levels:
32 * For the whole wiki,
33 * For a given space,
34 * For a given user
35
36 In order to change the Skin at wiki and space level, the user has to be an administrator for the current XWiki Enterprise instance. To find more about how to change a skin, check the [[How to change the Skin>>AdminGuide.Skins#s3]] section in the Admin Guide.
37
38 = More about XWiki Skins =
39
40 In order to find more about XWiki Skins, check the [[Skins Tutorial>>AdminGuide.Skins]] from inside the Admin Guide and the [[Skins Tutorial>>DevGuide.Skins]] from inside the Developer Guide.
41
42 = Skins eXtensions =
43
44 **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 in the Developer Guide>>DevGuide.SkinExtensionsTutorial]].

Get Connected