<
From version < 21.2 >
edited by Gilles Sérasset
on 2010/03/08
To version < 21.3 >
edited by Gilles Sérasset
on 2010/03/08
>
Change comment: Cosmetic bug fixes

Summary

Details

Page properties
Content
... ... @@ -12,13 +12,11 @@
12 12  = XWiki Skins =
13 13  
14 14  {{id name="s1"/}}
15 -
16 16  == What is a XWiki Skin used for? ==
17 17  
18 18   A XWiki Skin is used to customize the interface of a XWiki Enterprise instance.
19 19  
20 20  {{id name="s2"/}}
21 -
22 22  == What are the components that define a XWiki Skin? ==
23 23  
24 24   A XWiki Skin is composed of:
... ... @@ -30,10 +30,11 @@
30 30  
31 31   All these components are stored on the server that hosts the XWiki Enterprise instance, inside the (% class="sectionblockcodecolored directory" %)webapps/xwiki(%%) folder.
32 32  
33 -==
34 -{{id name="s3"/}}How to change the Skin ==
31 +{{id name="s3"/}}
32 +== How to change the Skin ==
35 35  
36 -=== {{id name="3a"/}}A. The default XWiki Skins ===
34 +{{id name="3a"/}}
35 +=== A. The default XWiki Skins ===
37 37  
38 38  
39 39   A XWiki Enterprise instance contains by default a [[list of Skins>>code:Skins.WebHome]] like:
... ... @@ -43,19 +43,26 @@
43 43  * the (% class="sectionblockcodecolored" %)[[colibri>>code:Skins.ColibriSkin]](%%) Skin and
44 44  * other skins ( the full list of XWiki Skins that are included in your XWiki Enterprise instance can be found on the server filesystem, inside the (% class="sectionblockcodecolored directory" %)webapps/xwiki/skins(%%) folder )
45 45  
46 -=== {{id name="3b"/}}B. The usage level for a XWiki Skin
45 +{{id name="3b"/}}
46 +=== B. The usage level for a XWiki Skin
47 47   ===
48 48  
49 -* A Skin can be used at different levels:
49 +A Skin can be used at different levels:
50 50  * for the entire XWiki Enterprise (% class="sectionblockcodecolored" %)instance(%%) ( if there is no Skin set other levels, the pages will use the global (% class="sectionblockcodecolored" %)instance(%%) Skin )
51 51  * for a (% class="sectionblockcodecolored" %)space(%%) inside the XWiki Enterprise instance ( it has a higher priority then the (% class="sectionblockcodecolored" %)instance(%%) level Skin )
52 52  * for a specific (% class="sectionblockcodecolored" %)user(%%) (it has a higher priority then the (% class="sectionblockcodecolored" %)space(%%) level Skin) and
53 53  * for other (% class="sectionblockcodecolored" %)custom(%%) levels that can be created by modifying the Velocity templates from inside the Skin ( for example, a Skin can be set for a specific page, for a specific group of users and so on )
54 -{{id name="3c"/}} ===C. Changing the Skin===
54 +
55 +{{id name="3c"/}}
56 +===C. Changing the Skin===
55 55  {{warning}}To change the Skin, the user must have administrating rights. In the case that you have these rights, make sure that you switch to the Advanced mode in your profile, to enable the advanced options on the top main menu.{{/warning}}
56 -{{id name="3c1"/}}====1. How to preview a Skin applied on a page====
58 +
59 +{{id name="3c1"/}}
60 +====1. How to preview a Skin applied on a page====
57 57   To check how a page looks on changing the Skin, you can add a parameter named (% class="sectionblockcodecolored" %)skin(%%) to the page URL. For example, to preview the wiki main page on using the (% class="sectionblockcodecolored" %)toucan(%%) Skin, use the following URL: http://localhost:8080/xwiki/bin/view/Main/WebHome/?skin=toucan . If you want to preview the page on using a Skin document named (% class="sectionblockcodecolored" %)MySpace.MySkinDoc(%%), use the following URL: http://localhost:8080/xwiki/bin/view/Main/WebHome/?skin=MySpace.MySkinDoc .
58 -{{id name="3c2"/}}====2. Changing the Skin at (% class="sectionblockcodecolored" %)instance(%%) level====
62 +
63 +{{id name="3c2"/}}
64 +====2. Changing the Skin at (% class="sectionblockcodecolored" %)instance(%%) level====
59 59   Each XWiki Enterprise instance contains a document ( (% class="sectionblockcodecolored" %)Skin Document(%%) ) that stores the Skin for the instance. To find out which document is used to store the current Skin, the user has to follow these steps:
60 60  
61 61  |(% style="width: 60%; color: rgb(34, 34, 34);" %)(((
... ... @@ -66,7 +66,8 @@
66 66  [[[[image:1.png||style="border: 3px solid rgb(221, 221, 221);" width="100%"]]>>attach:1.png]]
67 67  )))
68 68  
69 -{{id name="3c2steps"/}}To change the current Skin, follow these steps:
75 +{{id name="3c2steps"/}}
76 +To change the current Skin, follow these steps:
70 70  
71 71  |(% style="width: 60%; color: rgb(34, 34, 34);" %)(((
72 72  
... ... @@ -80,7 +80,9 @@
80 80  )))
81 81  
82 82   You can now open any page inside the wiki instance and you will notice the layout difference.
83 -{{id name="3c3"/}}====3. Changing the Skin at (% class="sectionblockcodecolored" %)space(%%) level====
90 +
91 +{{id name="3c3"/}}
92 +====3. Changing the Skin at (% class="sectionblockcodecolored" %)space(%%) level====
84 84   A XWiki space can use it's own Skin. For example, if you want to set as Skin for the space (% class="sectionblockcodecolored" %)Main(%%) as being the (% class="sectionblockcodecolored" %)albatross(%%) Skin, follow these steps:
85 85  
86 86  |(% style="width: 60%; color: rgb(34, 34, 34);" %)(((

Get Connected