Wiki source code of Skins

Version 22.4 by Sergiu Dumitriu on 2010/02/22

Hide last authors
Vincent Massol 21.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}}
Vincent Massol 1.1 2
Vincent Massol 21.1 3 = Recent Skins =
Vincent Massol 1.1 4
Raluca Stavro 19.1 5 XWiki Enterprise provides by default a [[list of Skins>>code:Skins.WebHome]]. The most recent ones are:
Raluca Stavro 20.1 6 * [[Colibri>>code:Skins.ColibriSkin]] ((([[[[image:colibri.PNG||width="80%" style="border:3px solid #ddd;"]]>>attach:colibri.PNG]])))
7 * and [[Toucan>>code:Skins.ToucanSkin]] ((([[[[image:toucan.png||width="80%" style="border:3px solid #ddd;"]]>>attach:toucan.png]])))
Raluca Stavro 19.1 8
Vincent Massol 21.1 9 {{id name="3c4" /}}
10 = Changing the Skin =
11
Vincent Massol 22.1 12 A Skin can be changed at different levels:
13 * For the whole wiki,
Vincent Massol 22.2 14 * For a given space,
Vincent Massol 22.1 15 * For a given user
Vincent Massol 21.1 16
Vincent Massol 22.1 17 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 18
Vincent Massol 22.1 19 == Changing the Skin for a user ==
20
Raluca Stavro 19.1 21 For example, if you want to use the (% class="sectionblockcodecolored"%)toucan(%%) Skin for a specific (% class="sectionblockcodecolored"%)user(%%), follow these steps:
Vincent Massol 21.1 22 1. go to the user's (% class="sectionblockcodecolored"%)profile(%%) page
23 1. edit the document's objects ( if you are in edit mode, use the right panel and choose the (% class="sectionblockcodecolored"%)Objects(%%) editor, or, if you are in view mode, use the top-left menu: (% class="sectionblockcodecolored"%)EDIT -> OBJECTS(%%))
24 1. set the value of the (% class="sectionblockcodecolored"%)skin(%%) property as being (% class="sectionblockcodecolored"%)toucan(%%)
25 1. save the document
Vincent Massol 1.3 26
Vincent Massol 22.1 27 Now, all the pages inside the wiki will have the (% class="sectionblockcodecolored"%)toucan(%%) Skin applied on them for that user.
Silvia Macovei 16.1 28
Vincent Massol 21.1 29 = More about XWiki Skins =
30
Raluca Stavro 17.1 31 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 32
Silvia Macovei 14.1 33 = Skins eXtensions =
Vincent Massol 1.7 34
Silvia Macovei 15.2 35 **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