Re: [xwiki-users] When adding a new page, can a standard template be used?
Sergiu, Thanks for the temporary fix - it works fine. I'll have to upgrade to the new version when I have time to inherit your bug fix - thanks. Regards, Richard -----Original Message----- From: users-bounces@xwiki.org [mailto:users-bounces@xwiki.org]On Behalf Of Sergiu Dumitriu Sent: 26 September 2007 20:52 To: XWiki Users Subject: Re: [xwiki-users] When adding a new page, can a standard template be used? 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@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@xwiki.org [mailto:users-bounces@xwiki.org]On Behalf Of wangwh@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@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 _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail is confidential. It may also be legally privileged. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. We may monitor all e-mail communications through our networks. If you have received this e-mail in error, please inform us immediately on +44 (0) 1749 672081 and delete it and all copies from your system. We accept no responsibility for changes to any e-mail which occur after it has been sent. Attachments to this e-mail may contain software viruses which could damage your system. We therefore recommend you virus-check all attachments before opening. A business of Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No. 868273
participants (1)
-
goldring, richard