On 10/13/2010 03:40 PM, Zuzana Zapletalova wrote:
Hello,
I would like to ask you about having one instance of xwiki (one database) in two
different layouts. I use xwiki for documentation of our product and I need to have two
different layouts of xwiki. The first one with all navigation and information panels and
the second one only in a simple style without all these panels (e.g. similar to print
style (print.css) in xwiki).
Do you know if it is possible to have one instance (one database) of xwiki in these two
different layouts?
Thank you very much for your answer,
Yes, you can write two different skins, and switch between them either
using user preferences (setting a skin just for one or some users), or
programatically on some conditions, by changing templates/stylesheets.vm
See
http://platform.xwiki.org/xwiki/bin/Features/Skins#HChangingtheSkin
--
Sergiu Dumitriu
http://purl.org/net/sergiu/