Hi,
This capability has been removed (unfortunately) from SuiteCRM when the Classic View has been removed and everything is done with the Wizard.
However, you can still implement that in an upgrade-safe way:
-
change the Create button of the Email Marketing subpanel:
Create a file named emailmarketing_layoutdefs.php (actually the file name does not matter) with:
<?php
$layout_defs['Campaigns']['subpanel_setup']['emailmarketing']['top_buttons'] = array(
array('widget_class' => 'SubPanelTopCreateButton'),
);
Place that file in custom/Extension/modules/Campaigns/Ext/Layoutdefs (you probably have to create that directory)
-
Change the edit button in the Email marketing subpanel so that it does not open the wizard
Copy modules/EmailMarketing/EditView.php to custom/modules/EmailMarketing/EditView.php
In that file:
Change
if (isset($_REQUEST['record']) && $_REQUEST['record'] && isset($_REQUEST['parent_id']) && $_REQUEST['parent_id']) {
SugarApplication::redirect('index.php?action=WizardMarketing&module=Campaigns&return_module=Campaigns&return_action=WizardHome&return_id=' . $_REQUEST['parent_id'] . '&campaign_id=' . $_REQUEST['parent_id'] . '&marketing_id=' . $_REQUEST['record'] . '&func=editEmailMarketing');
return;
} else {
if (isset($_REQUEST['record']) && $_REQUEST['record']) {
$focus->retrieve($_REQUEST['record']);
}
}
To:
if (isset($_REQUEST['record']) && $_REQUEST['record']) {
$focus->retrieve($_REQUEST['record']);
}
- Run Repair / Quick Repair from the admin page
That’s it.
Now,
-
In your campaign, select all possible target lists in the wizard
-
Open the campaign in detail view.
Using the Email marketing subpanel, you can create Email marketings and select which target list(s) apply.
Or you can edit an existing Email marketing to change the target lists for this email marketing.
Don’t forget to check Select to choose all Target List(s) in the Campaign if you don’t want all target lists to apply to a given Email marketing