2.-
#if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup"))
$response.sendRedirect($xwiki.getURL('Some.Document'))
#end --> Where should I place this commands?
Put this code e.g. in Main.WebHome
page surrounding by
{{velocity}} or you can create macro:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial
2.- #if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup"))
$response.sendRedirect($xwiki.getURL('Some.Document'))
#end --> Where should I place this commands?
3.- I don't know how to navigate between spaces
--> Is there any place where to view all paces in order to
administer/delete them?
You can look at all documents in
/xwiki/bin/view/Main/AllDocs page
Actually there is no object called "Space" in XWiki. Space is property
of the XWiki Document and "Create space" actually means "Create
Space.WebHome document". To delete space you need to delete all
documents (including hidden ones) which are grouped in this space.
To do it automatically use code from the:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Delete+Space
--> Is there any way to click in another space in
order to view it?
XWiki Panel Wizard has built-in "Spaces" and
"Space documents" panels:
http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/ChangingTheLogoAn…
And of course, you can create your own panels.
Valdis