On 09/22/2013 05:57 AM, Mohit Gupta wrote:
Once user registers himself, registration gets successful and clicks login,
he is navigated to Main space WebHome PageI want the user navigates to
Webhome page of MySpace . For this i mentioned below config element in
xwiki.cfg and restarted the server.
xwiki.authentication.defaultpage=/bin/view/MySpace/WebHome
But it did not help. Still user is navigated to Main space WebHome
Page once user clicks the login after successful regstration?
Am i missing something here?
The click here to login button which is shown after registration does not
honor the settings
in the xwiki.cfg; instead it configures its own welcome page.
You can find this in the XWiki Admin, section Registration
This should, among others, contain a field Redirect here after registration
with contents:
$xwiki.getURL($services.model.resolveDocument('', 'default',
$doc.documentReference.extractReference('WIKI')))
you can change this e.g. to
$xwiki.getURL($services.model.resolveDocument('MySpace.WebHome'))
I hope this helps
Clemens
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users