How to remove SugarCRM logo and keep it working
All,
This is how to remove SugarCRM logo and keep the login page working and everything working.
it is not only removing the SugarCRM logo , but replacing it with any image on your own and keep SugarCRM happy and does not feel anything.
I'm posting this as I took it as a challenge once, and since it is open source the license is enough for me, no need to force me to have you logo.
How it works:
it is Simple, they hash EVERY file on the SUGARCRM folder, and they create on fly a has for every file and compare it with the original hashs.
when the comparison fails, SugarCRM get stucked.
Details are below:
File Name&Path : include/utils/encryption_utils.php -->
please modify the above file to have only the below lines
function sugarEncode($key, $data){
return base64_encode($data);
}
function sugarDecode($key, $encoded){
$data = base64_decode($encoded);
return $data;
}
_____
File Name & Path : modules/Administration/ updater_utils.php
function check_now
add exit; add the end of the function and before the return
This is how to remove SugarCRM logo and keep the login page working and everything working.
it is not only removing the SugarCRM logo , but replacing it with any image on your own and keep SugarCRM happy and does not feel anything.
I'm posting this as I took it as a challenge once, and since it is open source the license is enough for me, no need to force me to have you logo.
How it works:
it is Simple, they hash EVERY file on the SUGARCRM folder, and they create on fly a has for every file and compare it with the original hashs.
when the comparison fails, SugarCRM get stucked.
Details are below:
File Name&Path : include/utils/encryption_utils.php -->
please modify the above file to have only the below lines
function sugarEncode($key, $data){
return base64_encode($data);
}
function sugarDecode($key, $encoded){
$data = base64_decode($encoded);
return $data;
}
_____
File Name & Path : modules/Administration/ updater_utils.php
function check_now
add exit; add the end of the function and before the return
Comments
Could you please, explain a little bit more the modification to the updates_utils.php, not clear what do you mean by:
add exit; add the end of the function and before the return
Many thanks
Joe
Please find details below
1) Please locate updates_utils.php
2) locate last line which will have "return"
3) add "exit;" without quotes before the "return"
That is all, good luck, and let me know if u needed anything
To which version does this code apply?
would you please elaborate , and tell me any error messages
I followed your instructions but no results. The version that I am using is 4.5.1e.
Once I did the changes to both files as you suggested, I tried to start the SugarCRM site but no web page was displayed (got a blank screen). When I deleted the exit command from updater_utils.php (just getting it back to its original state) then I got the welcome page but with a warning: Please replace the SugarCRM logos.
Any idea how this can be fixed?
Many thanks JoeV.
Please follow the changes as I wrote and when you have the blank page, please hit REFRESH
and tell me if it works for you or not
there is another line of code that we will add after you confirm that hitting refresh gets you the login page
good luck
I hit REFRESH after I got the blank screen, but still getting the same blank page.
Looking forward for your reply.
Joe
please make a fresh installation and let us make it together
good luck
Is there a possibiity to get your email,in order to send you the nodified files for your review. Before I do the re-installation.
My email is jal_vargas@hotmail.com.
Many thanks.
Joe.
thanks
Thanks a lot for such a nice post.
I have gone through your steps and it's working for me. But when ever I am logging in it is taking me to a blank page, if I am removing index.php from the URL and hitting enter after that it is working fine.
Any solution for this ?
Waiting for ur response.
Thanks In Advance!!
add link in between startSession()
and execute() on index.php
ex.
link-http://yoursite/crm/
Any idea like how to modify SugarCRM to include multiple disjoint companies?
thanks!
Thank you for this. I am having problems and coming to the blank page on version 5.1. I can remove index.php from url and it works fine. I have tried to make change to index.php as posted, but have no luck. Please let me know what else to do or look for. Thank you again.
No you can post whatever you like here as long as it is not advertisement and in the point
So, share what you have if you care
This site does not allow the posting of the tags that are needed for your solutions. Please refer to th following page...
http://www.inetminds.com/redirecting-in-php-11/#http://www.inetminds.com/redirecting-in-php-11/
Select option 2.
Paste all of the code in the exact spot mentioned last by Amol Savat. (his code is incorrect and cannot be posted to this site)
Make sure you remove the opening and closing php brackets for the code you copy.
Word!
$app->startSession();
HERE
$app->execute();
but it breaks the page.
Anyone can give a continuation to this thread?
I am trying to get stuff inserted between:
$app->startSession();
HERE
$app->execute();
I still get a blak page and have to press refresh in order to have SugarCRM work again.
Please,any PHP expert ;)
/larsaman
Please find details below
1) Please locate crmfolder/modules/Administration/updates_utils.php
2) locate function "check_now" and its last line which will have "return"
3) add "header("location:index.php");exit();" without quotes before the "return"
4)Turn warnings OFF.
That is all
regards