Hi everybody
How can I override the compose view in the Email module, I am trying this:
<?php
require_once('include/MVC/View/views/view.edit.php');
class EmailsViewCompose extends ViewEdit
{
function EmailsViewCompose()
{
parent::ViewEdit();
}
function preDisplay()
{
global $current_user;
$id_current_user = $current_user->id;
echo '<script type = "text/javascript" src="custom/modules/Emails/Javascript/controladorEmails.js"></script>';
parent::preDisplay();
}
}
?>
But the template to build the email doesnβt work, how can I load my custom javascript without affecting the emailComposer?
Thanks for your help
Best Regards