Hi, Maxime Mathieu wrote:
Hi Zuzana,
XWiki uses skins to customize the layout of the pages. You can look at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins for more information.
A skin can be applied at the space level, so it seems to be what you need : 2 different spaces with different layout in one xwiki instance.
A simpler way, if you just want to change the panels, is to define a custom presentation at the space level (in the space administration).
Allow me to add two simple but effective tricks, in this cases using some Velocity code, giving the user a nice customized experience: 1. Control what users can see a given panel based on her/his group membership: Sample panel code (after a message from Raluca Stravo; XWiki 1.0 syntax): #set($groupDoc = $xwiki.getDocument("XWiki.TheGroupSeeingThisPanel")) #if($groupDoc.getObject('XWiki.XWikiGroups', 'member', "$context.user")) Panel content #end See also... http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIMakeContentAppearOnlyForASpec... It seems that isUserInGroup has some issue in 2.4. 2. Apply a different skin on a per page basis. Sample code to be copied in your page (XWiki 1.0 syntax): #if("$!request.skin" != "XWiki.YourSkin") $response.sendRedirect($doc.getURL("view", "skin=XWiki.YourSkin")) #end See... http://www.xwiki.org/xwiki/bin/view/FAQ/Howtoapplyaskinonaperpagebasis Hope this helps! Ricardo -- Ricardo RodrÃguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems