Hello Everyone,
I tried to put icon beside the Primary Email field of Lead modules.
Hello Everyone,
I tried to put icon beside the Primary Email field of Lead modules.
Hi Bhavin Patel
We can do it by adding it to custom code in metadata.
Check this article may help you
Best Regards
S Ramana Raju
Hello Ramana Raju Santhana
you are right but i have change in view.detail.php file for other fields like name & phone number but trouble for adding icon for email field.
any idea for put icon using views file?
Hello Ramana Raju Santhana
function display() { $mobile_number = $this->dv->focus->phone_mobile; ($this->dv->focus->phone_mobile.' <img src="custom/themes/default/images/New_Logo_Thumb.gif" onClick="googlesearchmobile(\''.$mobile_number.'\');"></img>'); parent::display(); }
I have done using this for mobile field.
but when i tried for email icon is not display.
here is the code for email which is used.
$email = $this->dv->focus->email1; $this->dv->focus->email1 = ($this->dv->focus->email1.' <img src="custom/themes/default/images/New_Logo_Thumb.gif/New_Logo_Thumb.gif" onClick="googlesearchmobile(\''.$email.'\');"></img>');
Hi Bhavin Patel
Check this:
Hi Follow John
Not working ..
Hi
Give me the path and file code, i will check and get back to you
Regards
John
Hi Follow John
Here is the file location custom/modules/module_name/views/view.detail.php & code is already share in this thread.
Hi Bhavin Patel
May i know the reason why you are using view.detail instead of detailviewdefs.
Best Regards
S Ramana Raju
Hello Ramana Raju Santhana & Follow John
Thanks for helping.
I have done using jquery function
$(document).ready(function (){
$("#email1_span table td").append('<img src="custom/themes/default/images/google.gif"></img>');
});