I am dummy, thanks for your help now it works. but it is so efficient
that i cannot edit my main.webhome page. How can i edit my page and
stop redirection, the time i write the right space
thanks
2012/7/2, Guillaume Lerouge guilla...@xwiki.com:
You forgot a closing ):
You're using this:
Hello thanks for your help
my code is now for main WebHome
{{include document=Dashboard.WebHome context=new/}}
{{velocity}}
$xwiki.getURL(guide utilisateur Alexandhry.WebHome)
{{/velocity}}
but it still does not work when a user registers it still goes on main
space instead of specific space.
i am extremely sorry to annoy you again with my little problem but i
still cannot make it work. I tried to replace my space by standards
page and space. but i am still not redirected on the page after
registration. I stay still on main.Webhome instead of activity in the
example
my code of main
You forgot a closing ):
You're using this:
{{velocity}}
$response.sendRedirect($xwiki.getURL('Main.Activity')
{{/velocity}}
instead of this:
{{velocity}}
$response.sendRedirect($xwiki.getURL('Main.Activity')*) ## added missing
parenthese*
{{/velocity}}
Guillaume
On Mon, Jul 2, 2012 at 3:25
Hello
Could u please tell me if it is possible when a user registers not to
be redirected on main space webhome but a specific space instead.
thank you
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi Yann,
IIRC, you can change the default home page for the wiki in xwiki.cfg or in
xwiki.properties.
You can also add this code in your home page:
{{velocity}}
$response.sendRedirect($xwiki.getDocumentURL('SPACE.PAGE'))
{{/velocity}}
Guillaume
On Fri, Jun 29, 2012 at 4:57 PM, yann gensollen
On Jun 29, 2012, at 5:23 PM, yann gensollen wrote:
hello thanks for the answer
I have edited the webhome of main space and now i have this
{{include document=Dashboard.WebHome context=new/}}
{{velocity}}
$response.sendRedirect($xwiki.getDocumentURL('guide utilisateur