<
From version < 26.1 >
edited by Sorin Burjan
on 2011/04/07
To version < 27.1 >
edited by Vincent Massol
on 2011/04/22
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Sorin
1 +XWiki.VincentMassol
Content
... ... @@ -28,18 +28,18 @@
28 28  A Skin can be used at different levels:
29 29  * For the entire XWiki Enterprise instance. If no Skin is set at other levels, the pages will use the global instance Skin
30 30  * For a space inside the XWiki Enterprise instance. It has a higher priority than the instance level Skin
31 -* For a specific user. It has a higher priority than the space level Skin. Click [[here>>Features.Skins#HChangingtheSkinforauser]] for more details
31 +* For a specific user. It has a higher priority than the space level Skin. Click [[here>>#HChangingtheSkinforauser]] for more details
32 32  * For other custom levels that can be created by modifying the Velocity templates inside the Skin (for example, a Skin can be set for a specific page, for a specific group of users and so on)
33 33  
34 -= Changing the Skin =
34 +== Changing the Skin ==
35 35  
36 36  {{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}}
37 37  
38 -== How to preview a Skin applied on a page ==
38 +=== How to preview a Skin applied on a page ===
39 39  
40 40  To check how a page looks on changing the Skin, you can add a parameter named skin to the page URL. For example, to preview the wiki main page with the Toucan Skin, use the following URL: http://localhost:8080/xwiki/bin/view/Main/WebHome/?skin=toucan. If you want to preview the page using a Skin document named MySpace.MySkinDoc, use the following URL: http://localhost:8080/xwiki/bin/view/Main/WebHome/?skin=MySpace.MySkinDoc.
41 41  
42 -== Changing the Skin at instance level ==
42 +=== Changing the Skin at instance level ===
43 43  
44 44  Each XWiki Enterprise instance contains a Skin Document that stores the Skin for the instance. In order to find out which document is used to store the current Skin, the user has to follow these steps:
45 45  
... ... @@ -57,41 +57,40 @@
57 57  (((
58 58  [[image:skin3||style="border:1px solid black; width:650px"]]
59 59  )))
60 -* You have multiple text areas where you can override the default behavior of your skin.
60 +* You have multiple text areas where you can override the default behavior of your skin
61 61  * Click on **Save and View**
62 62  * Your settings will be applied and the skin should change accordingly.
63 63  
64 -== Changing the Skin at space level ==
64 +=== Changing the Skin at space level ===
65 65  
66 -A XWiki space can use it's own Skin. For example, if you want to set as Skin for the space Main as being the Albatross Skin, follow these steps:
66 +An XWiki space can have its own Skin. For example, if you want to set the Albatross Skin for the Main space you should follow these steps:
67 67  
68 68  * Go on any page inside the Main space
69 -* From the top Space menu, click Administer space to open the Administration interface for the space Main
69 +* From the top Space menu, click Administer space to open the Administration interface for the Main space
70 70  * Click on **Presentation** on the left tab
71 71  (((
72 - [[image:skin5.png||style="border:1px solid black; width:650px"]]
72 +[[image:skin5.png||style="border:1px solid black; width:650px"]]
73 73  )))
74 -* For example, you can put "toucan" to use the Toucan Skin. If you have defined another Skin, you must put the directory name which contains the skin in order to use it. Note that the names are case-sensitive.
75 -* Click on **Save**
76 -* You can now open any page inside the Main space and you will notice the layout difference.
74 +* For example, to use the Toucan Skin you can write "toucan" in the **Skin** field. If you have defined another Skin, you should fill in directory name which contains the skin. Note that the names are case-sensitive.
75 +* Click **Save**
76 +* If you open any page inside the Main space you will notice the layout difference.
77 77  
78 -== Changing the Skin for a user ==
78 +=== Changing the Skin for a user ===
79 79  
80 80  For example, if you want to use the Toucan Skin for a specific user, follow these steps:
81 81  
82 82  * Go to the user's profile page
83 83  * Edit the user's objects. Use the top-left menu: Edit -> Objects
84 -* Set the value of the skin(%%) property (under 'Objects of type XWiki.XWikiUsers') as toucan. You must use lowecase letter, remember that skin names are case-sensitive.
84 +* Set the value of the skin(%%) property (under 'Objects of type XWiki.XWikiUsers') to toucan. You must use lowercase letters, remember that skin names are case-sensitive.
85 85  (((
86 86  [[image:skin6.png||style="border:1px solid black; width:650px"]]
87 87  )))
88 88  * Click on **Save and View**
89 -* Now, all the pages inside the wiki will have the (% class="sectionblockcodecolored"%)toucan(%%) Skin applied on them for that user.
89 +* Now, all the pages inside the wiki will have the (% class="sectionblockcodecolored"%)toucan(%%) Skin applied for that user.
90 90  
91 -
92 92  = More about XWiki Skins =
93 93  
94 -In order to find more about XWiki Skins, check the [[Skins Tutorial>>DevGuide.Skins]] from inside the Developer Guide and the [[Skins Tutorial>>Features.Skins]] from inside the User Guide
93 +In order to find out more about the XWiki Skins, check the [[Skins Tutorial>>DevGuide.Skins]] in the Developer Guide and the [[Skins Tutorial>>Features.Skins]] in the User Guide.
95 95  
96 96  
97 97  

Get Connected