Wiki source code of Skins
Version 9.1 by Vincent Massol on 2008/01/24
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | 1 Skins |
2 | |||
![]() |
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. |
![]() |
1.1 | 4 | |
![]() |
8.1 | 5 | The following skins are available: |
![]() |
1.3 | 6 | |
![]() |
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)) | ||
![]() |
1.7 | 11 | |
![]() |
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 | |||
![]() |
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 |