Wiki source code of Skins

Version 40.4 by Vincent Massol on 2012/12/17

Hide last authors
Vincent Massol 21.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}}
Vincent Massol 1.1 2
Vincent Massol 28.1 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.
Vincent Massol 1.1 4
Vincent Massol 28.1 5 = Skins in XWiki Enterprise =
Raluca Stavro 19.1 6
Vincent Massol 28.1 7 The latest version of XWiki Enterprise bundles the following skins by default:
8
9 {{velocity}}
Thomas Mortagne 28.4 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%'")
Vincent Massol 28.1 11 #set ($currentDb = $context.database)
Thomas Mortagne 32.1 12 #set ($dummy = $context.setDatabase("extensions"))
13 #set ($extensions = $services.query.xwql($xwql).execute())
Vincent Massol 28.1 14 #foreach ($extension in $extensions)
15 * [[${context.database}:$extension]]
16 #end
17 #set ($dummy = $context.setDatabase($currentDb))
18 {{/velocity}}
19
Vincent Massol 40.4 20 You can find the full list of existing skins on the [[Extensions wiki>>extensions:Extension.WebHome]].
21
Vincent Massol 28.3 22 = Screenshots =
Vincent Massol 28.1 23
24 Here are some screenshots of recent skins.
25
Silvia Macovei 40.1 26 [[Colibri>>extensions:Extension.Colibri Skin]] ((({{image reference="Colibri.png"/}})))
Vincent Massol 28.1 27
Silvia Macovei 40.1 28 [[Toucan>>extensions:Extension.Toucan Skin]] ((({{image reference="Toucan.png"/}})))
Vincent Massol 28.1 29
Vincent Massol 21.1 30 {{id name="3c4" /}}
31 = Changing the Skin =
32
Manuel Smeria 40.2 33 A skin can be changed at different levels:
34 * For the whole wiki
35 * For a given space
Vincent Massol 22.1 36 * For a given user
Vincent Massol 21.1 37
Manuel Smeria 40.2 38 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 [[Changing the Skin>>AdminGuide.Skins#HChangingtheSkin]] section in the Admin Guide.
Vincent Massol 21.1 39
40 = More about XWiki Skins =
41
Raluca Stavro 17.1 42 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.
Silvia Macovei 16.1 43
Silvia Macovei 14.1 44 = Skins eXtensions =
Vincent Massol 1.7 45
Manuel Smeria 40.2 46 **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>>DevGuide.SkinExtensionsTutorial]] in the Developer Guide.

Get Connected