Wiki source code of Skins

Version 33.1 by Silvia Macovei on 2012/03/09

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 28.3 20 = Screenshots =
Vincent Massol 28.1 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
Vincent Massol 21.1 28 {{id name="3c4" /}}
29 = Changing the Skin =
30
Vincent Massol 22.1 31 A Skin can be changed at different levels:
32 * For the whole wiki,
Vincent Massol 22.2 33 * For a given space,
Vincent Massol 22.1 34 * For a given user
Vincent Massol 21.1 35
Vincent Massol 22.1 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.
Vincent Massol 21.1 37
38 = More about XWiki Skins =
39
Raluca Stavro 17.1 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.
Silvia Macovei 16.1 41
Silvia Macovei 14.1 42 = Skins eXtensions =
Vincent Massol 1.7 43
Silvia Macovei 15.2 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