Wiki source code of Skins

Version 14.1 by Silvia Macovei on 2009/10/07

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:
Vincent Massol 1.3 6
Silvia Macovei 14.1 7 {{velocity filter="none"}}
8 {{html clean="false" wiki="true"}}
Vincent Massol 8.1 9 #set ($hql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.SkinClass' and obj.name<>'XWiki.SkinClassTemplate' order by doc.name")
10 #set ($currentDb = $context.database)
11 #set ($dummy = $context.setDatabase("code"))
12 #set ($skins = $xwiki.searchDocuments($hql))
Vincent Massol 1.7 13
Vincent Massol 8.1 14 #foreach ($skin in $skins)
15 #set ($skinDoc = $xwiki.getDocument($skin))
16 #set ($dummy = $skinDoc.use("XWiki.SkinClass"))
Silvia Macovei 14.1 17 * [[$skinDoc.displayTitle.substring(0, $skinDoc.displayTitle.indexOf("Skin")) Skin>>code:$skinDoc.fullName]]: $skinDoc.getValue("description")
18
Vincent Massol 8.1 19 #end
20 #set ($dummy = $context.setDatabase($currentDb))
Silvia Macovei 14.1 21 <p/>
22 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]].
23 {{/html}}
24 {{/velocity}}
Vincent Massol 8.1 25
Silvia Macovei 14.1 26 = Skins eXtensions =
Vincent Massol 1.7 27
Silvia Macovei 14.1 28 **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 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