-
-
-
- User interface versions
- Building blocks for user interface design
- Adding styles with a css
- Surrounding page
- Changing snippets
- Creating a custom login page (pre 3.4)
- Creating a custom login page
- Using velocity templates within the blueprint
- Create your own web pages
- HTML delivery requirements
- How to customize system mails
-
Creating a custom login page (pre 3.4)
This is deprecated. If you are using User Interface version 3.4 or higher go to:
https://studio.crossmarx.nl/page/1123/creating-a-custom-login-page
You can create a dedicated page to login to your application or create a login block on a self-made homepage. In these case you are responsible for the graphical design of your page. Here we describe how you can add the login logic.
- You need a form with a login input and a password input. You can get the action on the form using
$session.getLoginUrl() - In case login fails a message has to be shown. You get the message usingĀ
$session.getOneTimeMessagesAsString(). When this method returns null, no further action is needed. When the methods return a value, you should show this text to your user. - For adding a "forgot your password" link, you can use
$session.getForgetPasswordUrl()to get the url for this link. When the user clicks on this link a window will open where the user can enter an email address. This email adress is used to send a link to update the password. As parameter of this method you can add the url of the page that will be displayed after the email address is entered and found.