Skin

XWiki skin Documentation: Admin Guide - Skins

The working skin is in XWiki DefaultSkin, wich has albatross as baseskin.

Files modifed by DefaultSkin fields

  • <a href="/xwiki/bin/skin/skins/albatross/style.css">style.css</a>
  • <a href="/xwiki/bin/skin/skins/albatross/footer.vm">footer.vm</a>
  • <a href="/xwiki/bin/skin/skins/albatross/view.vm">view.vm</a>
  • <a href="/xwiki/bin/skin/skins/albatross/space.vm">space.vm</a>
  • <a href="/xwiki/bin/skin/skins/albatross/contentview.vm">contentview.vm</a>
  • <a href="/xwiki/bin/skin/skins/albatross/classes.css">classes.css</a>
  • <a href="/xwiki/bin/skin/skins/albatross/javascript.vm">javascript.vm</a>
  • <a href="/xwiki/bin/skin/skins/albatross/stylesheets.vm">stylesheets.vm</a>
  • <a href="/xwiki/bin/skin/skins/albatross/login.vm">login.vm</a>
  • <a href="/xwiki/bin/template/templates/viewheader.vm">viewheader.vm</a>
    <p/>

{{/velocity}}

Anytime you want to modify a skin component (e.g. an elements.css style sheet) which is not present amongst the properties of the XWikiSkins class, that component must be added to those properties with a pretty name equals to the capitalized filename without extension (e.g. in our elements.css example, the property name must be Elements). Whenever a baseskin is set, the baseskin component is rewritten only if the property content is not empty: e.g. the property View (corresponding to the skin component view.vm) is empty in DefaultSkin, so pages are rendered using the view.vm component from the baseskin.