Changes for page Skins

Last modified by Thomas Mortagne on 2023/10/10

From version 42.1
edited by Ecaterina Moraru (Valica)
on 2017/09/04
Change comment: There is no comment for this version
To version 43.1
edited by Vincent Massol
on 2017/09/20
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -Features.WebHome
1 +xwiki:Documentation.UserGuide.Features.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.evalica
1 +XWiki.VincentMassol
Content
... ... @@ -23,20 +23,27 @@
23 23  
24 24  = Screenshots =
25 25  
26 -Here are some screenshots of skins.
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.Flamingo Skin@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:
... ... @@ -45,12 +45,13 @@
45 45  * For a given space
46 46  * For a given user
47 47  
48 -In order to change the skin at wiki and space level, the user has to be an administrator for the current XWiki instance. To find more about how to change a skin, check the [[Changing the Skin>>AdminGuide.Skins#HChangingtheSkin]] section in the Admin Guide.
55 +In order to change the skin at wiki and space level, the user has to be an administrator for the current XWiki instance. To find more about how to change a skin, check the [[Changing the Skin>>platform:AdminGuide.Skins#HChangingtheSkin]] section in the Admin Guide.
49 49  
50 50  = More about XWiki Skins =
51 51  
52 -In order to find more about XWiki Skins, check the [[Skins Tutorial>>AdminGuide.Skins]] from inside the Admin Guide and the [[Skins Tutorial>>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  
56 -**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>>DevGuide.SkinExtensionsTutorial]] in the Developer Guide.
64 +**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>>platform:DevGuide.SkinExtensionsTutorial]] in the Developer Guide.

Get Connected