Wiki source code of Skins

Version 13.4 by Silvia Macovei on 2009/09/25

Hide last authors
Vincent Massol 1.1 1 1 Skins
2
Sergiu Dumitriu 7.2 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
Vincent Massol 8.1 7 #set ($hql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.SkinClass' and obj.name<>'XWiki.SkinClassTemplate' order by doc.name")
8 #set ($currentDb = $context.database)
9 #set ($dummy = $context.setDatabase("code"))
10 #set ($skins = $xwiki.searchDocuments($hql))
Vincent Massol 1.7 11
Vincent Massol 8.1 12 #foreach ($skin in $skins)
13 #set ($skinDoc = $xwiki.getDocument($skin))
14 #set ($dummy = $skinDoc.use("XWiki.SkinClass"))
15 * [$skinDoc.displayTitle.substring(0, $skinDoc.displayTitle.indexOf("Skin")) Skin>code:$skinDoc.fullName]: $skinDoc.getValue("description")
16 #end
17 #set ($dummy = $context.setDatabase($currentDb))
18
Vincent Massol 1.7 19 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].
20
Jerome 13.1 21 1 Skins eXtensions
22
Silvia Macovei 13.4 23 *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