2013-12-19

[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

    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

16 comments:

  1. I have installed this on centos 6 but i cant seem to remove those options,
    how do i go about it weird to leave those links :)

    thanks

    ReplyDelete
    Replies
    1. I'm also install this on CentOS, and it works fine.
      I think you need to clean your browser cache....

      Delete
  2. thanks very much it was very helpful.

    ReplyDelete
  3. Where can I find the script to edit the configuration drop down list in the dashboard?

    ReplyDelete
  4. Thanks RimA it works perfectly as i expected great job. Keep up the good work...

    ReplyDelete
  5. For me its not changing even after i replaced the logo.png file. What could be the issue? Can any one help me?

    ReplyDelete
    Replies
    1. Same Problem..

      Delete
    2. Same probelm occurring..
      So did u found the solution?

      Delete
    3. when finish replace the logo, you must clean the web history
      (clean past hour or past day) then type the url back.

      Delete
  6. Your blog has given me that thing which I never expect to get from all over the websites. Nice post guys!

    Melbourne Web Designer

    ReplyDelete
  7. How to change the link to the logo once you login?

    ReplyDelete
  8. My performance module emails are not sending

    ReplyDelete
  9. Please can someone help me to change orange image to my own image logo please?

    ReplyDelete
  10. you have to edit the login.svg file as well

    ReplyDelete
  11. Anyone figured our how to edit the main side widget logo URL? That will be helpful.

    ReplyDelete