How to remove lines from DJ-EasyContact email
Login

New to DJ-Extensions?

How to remove lines from DJ-EasyContact email

If you want to hide part of the email that originally is sent via DJ-EasyContact, you need to make changes in the module's code. This is how the original email look like:

To change email contents, go to:

/modules/mod_dj_easy_contact/

and edit the helper.php. It's recommended to make a backup of this file before making any changes.

  • Remove User IP by changing line 175 (or in line 183 if option Email in Form is disabled) - just remove this code:
"\n\n" . $user_ip .
  • Remove Browser Type by changing line 178 (or in line 186 if option Email in Form is disabled) - just remove this code:
$browserType . "\n\n" .
  • Remove Browser Version by changing line 178 (or in line 186 if option Email in Form is disabled) - just remove this code:
 $browserVersion . "\n\n" .
  • Remove Full Agent String by changing line 178 (or in line 186 if option Email in Form is disabled) - just remove this code:
. $full_agent_string . "\n\n"

© 2023 DJ-Extensions.com. All rights reserved.