Skip to content

Apache OFBiz ERP application that adds a central login page for all users, and displays Icons of the applications they can access.

License

Notifications You must be signed in to change notification settings

alex-418/ofbiz-central-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Purpose:

Makes a login page where all users can log on (instead of having to visit each specific application URL they have access to). Once logged-in they will see only the apps they can access (as yellow buttons with Icons - See included screenshot)

Screenshot

Screenshot

How it works:

This application is mounted on the root https://localhost:8443, once logged in the app calls two CSS files that turn the existing Ofbiz applications menu into buttons with Icons. That's it! Simple and quick :)

Note: This was made for the default Ofbiz visual theme "Tomahawk" using the EN english language setting or ES Espanol setting. (For other languages, you will have to update the css file). Browsers tested: IE9, Firefox, Chrome.

Instructions:

  1. Add the included "Welcome" folder to your "Ofbiz/hot-deploy" folder

  2. Add the included CSS file and font-awesome folder to the Tommahawk theme's CSS folder at "ofbiz/themes/tomahawk/webapp/tomahwak/css"

  3. Replace your theme's appbarOpen.ftl file with the one included at "ofbiz/themes/tomahawk/include" folder (1 line changed, see inline comments)

  4. Restart Ofbiz and visit the root Ofbiz URL https://localhost:8443 (This app is mounted to root)

  5. Login with any user account, you will only see apps that account has access to (As Yellow buttons with Icons - See included screenshot)

  6. DONE !! Enjoy :)

How to change icons: Edit the css file. For a list of available icons visit the font awesome website at http://fortawesome.github.io/Font-Awesome/icons/

Files Changed to achieve results:

If you are curious as to what files I added/changed on Ofbiz, please see below:

Folders Added: ofbiz/hot-deploy/welcome - I used "./ant create-component" to make the welcome app in the hot-deploy folder. ofbiz/themes/tomahawk/webapp/tomahawk/css/font-awesome - Downloaded from font-awesome website.

Files Added: ofbiz/themes/webapp/tomahawk/css/welcomeappstyle.css

Files Modified: ofbiz/hot-deploy/welcome/widget/CommonScreens.xml - added stylesheet calls, see comments in line 18/19 ofbiz/hot-deploy/welcome/ofbiz-component.xml - Set root mount point and base-permission to "OFBTOOLS" on lines 37/38 ofbiz/themes/tomahawk/includes/appbarOpen.FTL - added tag to menu items, see comments in line 69

About

Apache OFBiz ERP application that adds a central login page for all users, and displays Icons of the applications they can access.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published