How To Enable Customization Of The Login Page

From InfiniteERP Wiki
Revision as of 12:15, 16 December 2021 by Wikiadmin (talk | contribs) (Created page with "{{RatingArticle}} {{Languages | Documentation_Style_Guide}} == Objective == The objective of this article it to provide the necessary steps to enable customization of the Open...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Objective

The objective of this article it to provide the necessary steps to enable customization of the Openbravo login page.

Recommended Articles

Please read this article about Authentication in Openbravo ERP. It explains the the way the authentication and the authentication manager work and how they are being configured.

Execution Steps

A couple of modiffications are necessary to change the look of the login page. To start off with a base we will be working on, we will be using the Openbravo 3 Demo Login Page module.

Installing Required Module

  • Log in as System Adminisrator
  • Go to General Setup -> Application -> Module Management -> Add Modules
  • Search and install the following module:
    • Openbravo 3 Demo Login Page

Configuring the Environment

As already mentioned, a few more steps are needed:

  • In openbravo.properties:
authentication.class=org.openbravo.demo.loginpage.authentication.DemoAuthenticationManager
  • In modules/org.openbravo.demo.loginpage/src/org/openbravo/demo/loginpage/security:
Exchange the revision number "revisionControl('14275')" with the number set in the getCurrentRevision() method in utils.js

Once done, you will see that the login page has changed. You can use this module as the base for your development and customize the Login.html as you want.