Changes for page Skins
Last modified by Thomas Mortagne on 2023/10/10
From version 42.3
edited by Vincent Massol
on 2017/09/06
on 2017/09/06
Change comment:
Updated the relative links.
To version 43.1
edited by Vincent Massol
on 2017/09/20
on 2017/09/20
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -23,20 +23,27 @@ 23 23 24 24 = Screenshots = 25 25 26 - Here aresomescreenshotsofskins.26 +Skins developed by the XWiki dev team: 27 27 28 -[[Flamingo>>extensions:Extension.Flamingo Skin]] 28 +[[[[image:extensions:Extension.Flamingo [email protected]||width="100" style="width: 100px; height: 100px; border: 1px; border-color: #000000; border-style: solid;"]]>>extensions:Extension.Flamingo Skin]] [[[[image:Colibri.png||width="100" style="width: 100px; height: 100px; border: 1px; border-color: #000000; border-style: solid;"]]>>extensions:Extension.Colibri Skin]] [[[[image:Toucan.png||width="100" style="width: 100px; height: 100px; border: 1px; border-color: #000000; border-style: solid;"]]>>extensions:Extension.Toucan Skin]] 29 29 30 - {{image reference="extensions:Extension.FlamingoSkin@flamingo.png"width="960"/}}30 +Custom skins developed by XWiki users: 31 31 32 -[[Colibri>>extensions:Extension.Colibri Skin]] 32 +{{cache}} 33 +{{velocity}} 34 +#set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ReferenceClass' and obj.name<>'XWiki.ReferenceClassTemplate' order by doc.name asc") 35 +#set ($references= $xwiki.searchDocuments($sql)) 36 +## 37 +#foreach ($reference in $references) 38 + #set ($refDoc = $xwiki.getDocument($reference)) 39 + #if ($refDoc.attachmentList.size() > 0) 40 + #set ($attach = $refDoc.attachmentList.get(0)) 41 + [[[[image:${refDoc.prefixedFullName}@${attach.filename}||width='100' style='width: 100px; height: 100px; border: 1px; border-color: #000000; border-style: solid;']]>>$refDoc.prefixedFullName]] #end 42 + ## The end of the 'if' is located on the same line as the last statement because it would otherwise trigger a newline and the parser would output an unwanted <br/> element, resulting in one image per line. 43 +#end 44 +{{/velocity}} 45 +{{/cache}} 33 33 34 -{{image reference="Colibri.png"/}} 35 - 36 -[[Toucan>>extensions:Extension.Toucan Skin]] 37 - 38 -{{image reference="Toucan.png"/}} 39 - 40 40 = Changing the Skin = 41 41 42 42 A skin can be changed at different levels: ... ... @@ -49,7 +49,8 @@ 49 49 50 50 = More about XWiki Skins = 51 51 52 -In order to find more about XWiki Skins, check the [[Skins Tutorial>>platform:AdminGuide.Skins]] from inside the Admin Guide and the [[Skins Tutorial>>platform:DevGuide.Skins]] from inside the Developer Guide. 59 +* Learn how to [[manage XWiki skins>>platform:AdminGuide.Skins]] 60 +* Learn how to [[develop new skins>>platform:DevGuide.Skins]] 53 53 54 54 = Skins eXtensions = 55 55