5.11 Daisy Wiki Skinning
Customising the look and feel of the Daisy Wiki is possible through:
- configuration of an existing skin, via the skinconf.xml
- creation of a custom skin
Daisy ships with one skin called default.
The skin to use is configurable on the level of a site in the
Pages not belonging to a particular site (such as the login screen, the sites index page, etc.) use a globally configured skin, defined in the global siteconf.xml file:
If this file does not exist, the skin called default will be used. The content of the global siteconf.xml file should be like this:
<siteconf xmlns="http://outerx.org/daisy/1.0#siteconf"> <skin>default</skin> </siteconf>
The skinconf.xml file is simply an XML file which is merged in the general
XML stream and is available to the XSLT stylesheets, most specifically the
A skinconf.xml file can be put in the
If a site doesn't have its own skinconf.xml file, it will fall back to using the global one.
220.127.116.11 default skin skinconf.xml
<skinconf> <logo>resources/local/mylogo.png</logo> <daisy-home-link>Daisy Home</daisy-home-link> <site-home-link>Site Home</site-home-link> </skinconf>
Each of the parameters (= XML elements) is optional.
The parameters quite speak for themselves:
logo: the path of the logo to put in the left-top corner. If you
don't create a custom skin, you can for example put it at the following
- daisy-home-link: alternative text for the "Daisy Home" link (in the top-right corner)
- site-home-link: alternative text for the "Site Home" link (in the top-right corner)
It can take up to 10 seconds before changes made to a skinconf.xml file are noticed.