Ok, so I found the utils.php and found the skype info, but thats about as far as my brain will get me.
I am NOT good with PHP or any language for that matter.
Here is the code for Skype:
PHP Code:
function skype_formatted($number){
//kbrill - BUG #15375
if($_REQUEST['action']=="Popup") {
return false;
} else {
return substr($number, 0, 1) == '+' || substr($number, 0, 2) == '00' || substr($number, 0, 2) == '011';
}
// return substr($number, 0, 1) == '+' || substr($number, 0, 2) == '00' || substr($number, 0, 2) == '011';
}
function format_skype($number) {
return preg_replace('/[^\+0-9]/','',$number);
Now, I just want every phone number in Sugar to be a hyperlink without the +countrycode formating. Can someone tell me what I need to change in the above code to make that happen??
Thanks!!!!
Bookmarks