Wiki source code of Skins

Version 39.1 by Silvia Macovei on 2012/03/09

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}}
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.
5 = Skins in XWiki Enterprise =
7 The latest version of XWiki Enterprise bundles the following skins by default:
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}}
20 = Screenshots =
22 Here are some screenshots of recent skins.
24 [[Colibri>>extensions:Extension.Colibri Skin]] ((([[image:Colibri.png||style="border:1px solid silver;"]])))
26 [[Toucan>>extensions:Extension.Toucan Skin]] ((([[image:Toucan.png||style="border:1px solid silver;"]])))
28 {{id name="3c4" /}}
29 = Changing the Skin =
31 A Skin can be changed at different levels:
32 * For the whole wiki,
33 * For a given space,
34 * For a given user
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.
38 = More about XWiki Skins =
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.
42 = Skins eXtensions =
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