Changes for page Skins

Last modified by Thomas Mortagne on 2023/10/10

<
From version < 27.2 >
edited by Sorin Burjan
on 2010/12/17
To version < 28.1 >
edited by Vincent Massol
on 2012/01/17
>
Change comment: Added more info about bundled skins

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Sorin
1 +XWiki.VincentMassol
Content
... ... @@ -1,11 +1,30 @@
1 1  {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}}
2 2  
3 -= Recent Skins =
3 +A skin is a visual organization of content for wiki pages. It's different from [[Color Themes>>extensions:Extension.Color Theme Application]] which are set of colors for the various elements of a skin.
4 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]])))
7 -* and [[Toucan>>extensions:Extension.Toucan Skin]] ((([[image:Toucan.png||style="border:1px solid black;"]])))
5 += Skins in XWiki Enterprise =
8 8  
7 +The latest version of XWiki Enterprise bundles the following skins by default:
8 +
9 +{{velocity}}
10 +#set ($xwql = "from doc.object(ExtensionCode.ExtensionClass) as extension where extension.type = 'skin' and extension.bundledWith like '%enterprise%'")
11 +#set ($currentDb = $context.database)
12 +#set ($dummy = $context.setDatabase("extensions"))
13 +#set ($extensions = $services.query.xwql($xwql).execute())
14 +#foreach ($extension in $extensions)
15 + * [[${context.database}:$extension]]
16 +#end
17 +#set ($dummy = $context.setDatabase($currentDb))
18 +{{/velocity}}
19 +
20 += Skin Screenshots =
21 +
22 +Here are some screenshots of recent skins.
23 +
24 +[[Colibri>>extensions:Extension.Colibri Skin]] ((([[image:Colibri.png]])))
25 +
26 +[[Toucan>>extensions:Extension.Toucan Skin]] ((([[image:Toucan.png||style="border:1px solid black;"]])))
27 +
9 9  {{id name="3c4" /}}
10 10  = Changing the Skin =
11 11  
... ... @@ -16,16 +16,6 @@
16 16  
17 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 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 29  = More about XWiki Skins =
30 30  
31 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.

Get Connected