How to display a banner at the top of pages?
Version 3.1 by Vincent Massol on 2013/02/09
This is useful to warn users that the wiki will go in maintenance mode in some near future for example.
We currently don't have a good solution for it. Here's a temporary workaround:
- Add a titlevars.vm field to the XWikiSkins class (type textarea, Text editor)
- Customize the current skin (from the "Administration>Presentation" page)
- Copy the content of http://localhost:8080/xwiki/templates/titlevars.vm to the titlevars.vm textarea field.
- At the end of this field, add for example:#error("This wiki will be down on 29th of October 2011, 10AM GMT+1.")