Wiki source code of Skins

Version 18.1 by Raluca Stavro on 2009/12/10

Hide last authors
Raluca Stavro 17.1 1 {{velocity}}
2 $xwiki.ssx.use($doc.fullName)
3 {{/velocity}}
4 (% class="floatinginfobox" %)(((
5 **Contents**
Vincent Massol 1.1 6
Raluca Stavro 17.1 7 {{toc depth="3" start="2"/}}
8 )))
9 =XWiki Skins=
Vincent Massol 1.1 10
Raluca Stavro 17.1 11 {{id name="3c4" /}}==Changing the Skin at (% class="sectionblockcodecolored"%)user(%%) level==
12 For example, if you want to use the (% class="sectionblockcodecolored"%)toucan(%%) Skin for a specific (% class="sectionblockcodecolored"%)user(%%), follow these steps:
13 1. go to the user's (% class="sectionblockcodecolored"%)profile(%%) page
14 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(%%))
15 1. set the value of the (% class="sectionblockcodecolored"%)skin(%%) property as being (% class="sectionblockcodecolored"%)toucan(%%)
16 1. save the document
Vincent Massol 1.3 17
Raluca Stavro 17.1 18 Now, all the pages inside the instance will have the (% class="sectionblockcodecolored"%)toucan(%%) Skin applied on them for that user.
Silvia Macovei 16.1 19
Raluca Stavro 17.1 20 ==More about XWiki Skins==
21 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 22
Silvia Macovei 14.1 23 = Skins eXtensions =
Vincent Massol 1.7 24
Silvia Macovei 15.2 25 **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