Author Topic: Orange HRM - Customization  (Read 106 times)

Offline certforumz

  • Cert Exams
  • Administrator
  • Hero Member
  • *****
  • Posts: 737
  • Ask me a question ...
    • CertExams - CCNA, A+, Network+, and Others
Orange HRM - Customization
« on: November 27, 2017, 04:08:11 AM »
Consider the following:
 [OrangeHRM v3.0.1] How to change logo images
There are two logo images:

    Path to logo image used on login screen:
    /symfony/web/webres_521db8499614c0.51100681/themes/default/images/login/logo.png

    Width: 339px Height: 66px
    Path to logo image used after logging in:
    /symfony/web/webres_521db8499614c0.51100681/themes/default/images/logo.png
http://www.anandsoft.net//orange/symfony/web/webres_598bd8c4489f52.47381308/themes/default/images/logo.png

    Width: 283px Height: 56px

I recommend renaming those images and uploading your own logo and renaming the file to logo.png

Note: when the mouse pointer is hovered over the logo "OrangeHRM" is displayed as the HTML ALT text.  This can be changed by editing freshorange.php, path:

    \symfony\apps\orangehrm\templates\freshorange.php

 Search for alt="OrangeHRM" text and replace OrangeHRM with whatever you want.

You can also edit the hard-coded image dimensions for the logo.png image in layout.php.  Search for logo.png text and then edit the width and height.  Look from about line 51.

Notes about the login page

    On the login page there is no alt text or hardcoded image dimensions for the logo image
    Beware if your logo is not height 66px, it will mess up the CSS positioning of the various elements on the form in the login page
    You can edit loginSuccess.php to hard-code your own image dimensions, path \symfony\apps\orangehrm\modules\auth\templates\loginSuccess.php
    My next blog post will focus on modifying and re-theming the login page

---------------------
+## Styling
+
+*Add your own logo to the top bar: Create `logo.png` in `webres_5523b60dca2e19.91394908/themes/default/images/`. The image should be 568 by 66 pixels.
+*Add your own logo to the login scren: Create `logo.png` in `webres_5523b60dca2e19.91394908/themes/default/images/login/`.
+
---------------------------------
https://github.com/EFForg/lemonhrm/commit/8b8fa5c4858a517d6f5b847664710b8741ff5aeb


http://unofficialmods.blogspot.in/2013/12/orangehrm-v301-how-to-edit-or-remove.html
« Last Edit: November 27, 2017, 05:53:21 AM by certforumz »

Offline certforumz

  • Cert Exams
  • Administrator
  • Hero Member
  • *****
  • Posts: 737
  • Ask me a question ...
    • CertExams - CCNA, A+, Network+, and Others
« Last Edit: November 27, 2017, 07:13:02 AM by certforumz »