login form in homepage problem

Author Message

Alessandro Cipriani

Thursday 11 March 2004 7:52:42 am

hi all
i've modified my pagelayout in order to display a simplyfied login form if the user is anonymous, while a "wellcome xxxx" is displayed after the login, togheter with the logout link.
only two questions:
-if the login doesn't succeed i the the original (not modified) login form in the main content area, while i'd like to have a message only in my built-in form. how to avoid the maincontent login form?
-after the logout the maincontent is redirected on the loginform. is there a way to redirect on another page, like the home page?

thanks in advance
alessandro

Douglas Hammond

Friday 12 March 2004 1:57:11 pm

as for your first question i don't know.

as for the logout page you can defin it in you site.ini under
[UserSettings]
LogoutRedirect=/user/login

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.