Indeed, the proper way is to edit login.vm, where the login screen is
defined. In order to redirect to a certain page, you can replace
<div class="hidden"><input type="hidden"
name="xredirect"
value="$!request.xredirect" /></div>
with
<div class="hidden"><input type="hidden"
name="xredirect"
value="$!xwiki.getURL('That.Document')" /></div>
About the wrong URL the users are redirected to, that is a known bug
which was fixed in XWiki 1.1 (
http://jira.xwiki.org/jira/browse/XWIKI-1394 )
On 9/26/07, goldring, richard <richard.goldring(a)uk.thalesgroup.com> wrote:
Thanks Wei-hsing,
In my XWiki setup I've set it so all users have to login and so when its
their first login to the XWiki they end up at
http://167.138.122.17:8080/xwiki/bin/view/XWiki/XWikiLogin%3Bjsessionid%3D7s
or9btuj7s6d with a message saying "The requested document could not be
found." Any ideas?
I have found though that I could edit the CSS login.vm albatros skin file to
add an email link (for users to request an XWiki user account from the
administrator i.e. me) onto the login page if that's of any use to any other
users out there.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of wangwh(a)att.net
Sent: 26 September 2007 16:09
To: XWiki Users
Subject: Re: [xwiki-users] When adding a new page, can a standard
template be used?
Hi,
One way to direct user to a certain page after login is to make that page
require a login (guest view denied), a link to that page, say "Members,
enter here," will cause the login page to show up, after login, they will be
directed to that first member page. This method is not the best, but cost no
effort.
Wei-hsing
-------------- Original message ----------------------
From: "goldring, richard" <richard.goldring(a)uk.thalesgroup.com>
>
> Hi all,
>
> Anyone know the answers:
> * Does anyone know how to update the text on the login page with say an
> email link for people to request an account, etc?
> * Redirect the user to a certain initial page when they login?
> If anyone has any answer I can paste them to the FAQ section of the XWiki
> website.
>
> Regards,
>
> Richard
>
Sergiu
--
http://purl.org/net/sergiu