Wiki source code of Skins

Version 16.1 by Silvia Macovei on 2009/10/19

Hide last authors
Silvia Macovei 14.1 1 = Skins =
Vincent Massol 1.1 2
Silvia Macovei 14.1 3 Skins allow you to completely change the look & feel of your wiki. Everything can be modified. Check our [[screenshots of XWiki installations around the world>>xwiki:Main.Screenshots]] and you'll see for yourself.
Vincent Massol 1.1 4
Vincent Massol 8.1 5 The following skins are available:
Silvia Macovei 15.1 6 * [[Albatross Skin>>http://code.xwiki.org/xwiki/bin/view/Skins/AlbatrossSkin]]
7 * [[Colibri Skin>>http://code.xwiki.org/xwiki/bin/view/Skins/ColibriSkin]]
8 * [[Dodo Skin>>http://code.xwiki.org/xwiki/bin/view/Skins/DodoSkin]]
9 * [[Finch Skin>>http://code.xwiki.org/xwiki/bin/view/Skins/FinchSkin]]
10 * [[Toucan Skin>>http://code.xwiki.org/xwiki/bin/view/Skins/ToucanSkin]]
Vincent Massol 1.3 11
Silvia Macovei 16.1 12 image:toucan.png
13 //Screenshot of the [[Toucan Skin>>http://code.xwiki.org/xwiki/bin/view/Skins/ToucanSkin]]//
14
15 image:colibri.PNG
16 //Screenshot of the [[Colibri Skin>>http://code.xwiki.org/xwiki/bin/view/Skins/ColibriSkin]]//
17
Silvia Macovei 14.1 18 {{velocity filter="none"}}
19 {{html clean="false" wiki="true"}}
Vincent Massol 8.1 20 #set ($hql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.SkinClass' and obj.name<>'XWiki.SkinClassTemplate' order by doc.name")
21 #set ($currentDb = $context.database)
22 #set ($dummy = $context.setDatabase("code"))
23 #set ($skins = $xwiki.searchDocuments($hql))
Vincent Massol 1.7 24
Vincent Massol 8.1 25 #foreach ($skin in $skins)
26 #set ($skinDoc = $xwiki.getDocument($skin))
27 #set ($dummy = $skinDoc.use("XWiki.SkinClass"))
Silvia Macovei 14.1 28 * [[$skinDoc.displayTitle.substring(0, $skinDoc.displayTitle.indexOf("Skin")) Skin>>code:$skinDoc.fullName]]: $skinDoc.getValue("description")
29
Vincent Massol 8.1 30 #end
31 #set ($dummy = $context.setDatabase($currentDb))
Silvia Macovei 14.1 32 <p/>
33 To learn how to use one of these skins or even create a new one check the [[Skinning section of the Admin Guide>>AdminGuide.Skins]].
34 {{/html}}
35 {{/velocity}}
Vincent Massol 8.1 36
Silvia Macovei 14.1 37 = Skins eXtensions =
Vincent Massol 1.7 38
Silvia Macovei 15.2 39 **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