1. To edit or remove the footer text on the login and post-login pages
Edit the _copyright.php file, path:
\symfony\apps\orangehrm\templates\_copyright.phpThe file contents are the following:
LineYou can edit this as you want. Here is my suggestion if you want to remove everything, delete lines 7, 8 and 9:
1 <?php
2 $version = '3.1.1';
3 $prodName = 'OrangeHRM';
4 $copyrightYear = date('Y');
5
6 ?>
7 <?php echo $prodName . ' ' . $version;?><br/>
8 © 2005 - <?php echo $copyrightYear;?> <a href="http://www.orangehrm.com" target="_blank">OrangeHRM, Inc</a>. All rights reserved.
9
LineThis will now look like:
1 <?php
2 $version = '3.1.1';
3 $prodName = 'OrangeHRM';
4 $copyrightYear = date('Y');
5
6 ?>
This is quite a nice, clean result.
However, if you want to have custom text in there try this:
LineThis will look like:
1 <?php
2 $version = '3.1.1';
3 $prodName = 'OrangeHRM';
4 $copyrightYear = date('Y');
5
6 ?>
7 <br/>
8 © <?php echo $copyrightYear;?> Company Name. All rights reserved.
9
2. Remove the social sharing links from the footer
Let's be honest that's quite unprofessional, would you really deploy OrangeHRM in to your workplace leaving those links there? Not me.
We can quite easily apply a CSS mod to remove them.
Edit main.css, path:
\symfony\web\webres_521db8499614c0.51100681\themes\default\css\main.css
Depending on if you have modified main.css before, go to about line 351 or 353. In my case it is line 353, alternatively search for the text #social-icons/symfony/web/webres_521db8499614c0.51100681/themes/default/css/main.css - See more at: http://unofficialmods.blogspot.co.uk/#sthash.4BDZbVgh.dpuf
This section should look like:
LineAfter line 353 add display:none; so it should look like this:
353 #social-icons {
354 margin-top: 5px;
355 }
LineSave the changes and refresh the browser on the login page, the social icons will not display now.
353 #social-icons {
354 display:none;
355 margin-top: 5px;
356 }
Hi,
ReplyDeleteIt was an interesting stuff you posted here. Have you been able to customize the look and feel (change any part of the theme)?
I have v3.0.1 and theres no _copyright.php file in that location or #social-icons in the main.css either.
ReplyDeleteHi There!
ReplyDeleteAwesome post, can i also change the links of the icon or replace those with my own.
I would love to learn about some other customization, like home page, logo, http link line etc.
Pls help..
thank you for posting.
ReplyDeleteI have v3.3.2, after running the "display:none;" as indicated above, the social icons did not disappear. what should I do next?
ReplyDeletejust keep "display: none" and remove other lines from this block.
Delete#social-icons {
354 display:none;
355
356 }
hi, can you help me?
DeleteI want to remove all icon with do using your method but it not disappear. what should i do?
thanks for your posting
ReplyDeleteHi,
ReplyDeleteThank you for this initiative.
I would like to modify by adding login page large image in the background. How can I do it ? Your return would be a great contribution.
Big thank you
/symfony/web/webres_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/themes/default/images/login/login.png
ReplyDeletethis is the path of login bg image, replace the xxx with your real website path
How do you remove the link to orangehrm website once you logged in ?
ReplyDeletei want to add pop options by email can i add?
ReplyDeletehow to change menu please help me
ReplyDeleteHow do I change the orange color to my corporate color eg red
ReplyDelete