Wiki source code of Skins
Version 26.5 by Sorin Burjan on 2010/12/17
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}} | ||
2 | |||
3 | = Recent Skins = | ||
4 | |||
5 | XWiki Enterprise provides some skins by default (See the [[Extension wiki>>extensions:Main.WebHome]]). The most recent ones are: | ||
6 | * [[Colibri>>extensions:Extension.Colibri Skin]] ((([[image:Colibri.png|| style="border:1px solid black;"]]))) | ||
7 | * and [[Toucan>>extensions:Extension.Toucan Skin]] ((([[image:Toucan.png||style="border:1px solid black;"]]))) | ||
8 | |||
9 | {{id name="3c4" /}} | ||
10 | = Changing the Skin = | ||
11 | |||
12 | A Skin can be changed at different levels: | ||
13 | * For the whole wiki, | ||
14 | * For a given space, | ||
15 | * For a given user | ||
16 | |||
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. | ||
18 | |||
19 | == Changing the Skin for a user == | ||
20 | |||
21 | For example, if you want to use the (% class="sectionblockcodecolored"%)toucan(%%) Skin for a specific (% class="sectionblockcodecolored"%)user(%%), follow these steps: | ||
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 (under 'Objects of type XWiki.XWikiUsers') as being (% class="sectionblockcodecolored"%)toucan(%%) | ||
25 | 1. save the document | ||
26 | |||
27 | Now, all the pages inside the wiki will have the (% class="sectionblockcodecolored"%)toucan(%%) Skin applied on them for that user. | ||
28 | |||
29 | = More about XWiki Skins = | ||
30 | |||
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. | ||
32 | |||
33 | = Skins eXtensions = | ||
34 | |||
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]]. |