refactor(plugin): rebrand as MT3SMarketingProgram, release 0.17.0
Rename the plugin's vendor/namespace from experiential/Program to mt3s/MT3SMarketingProgram (composer: mt3s/mautic-marketing-program-bundle): - ProgramBundle -> MT3SMarketingProgramBundle; extension, integration, config support, permissions, events and twig extension renamed likewise - Initiative* -> Program*: controller (InitiativeController -> ProgramController), model, entities, repositories, form types and views (new _tabs/_task_table/_tab_table_filter partials, details page) - Settings config form theme -> _config_mt3smarketingprogramconfig_widget; routes and translations re-prefixed (mt3s_marketing_program_*) - Assets: icon.svg -> mt3s-mp-icon.svg; program.js -> mt3s-mp-program.js (OnLoad hooks renamed mt3sMpProgram*) - Add Command/RefreshStatsCommand; Migrations/Version_0_17_0.php renames the tables to mt3s_mp_program_*
This commit is contained in:
1 parent
687d33d30c
commit
ea88b7a772
131 files changed
+3238
-2836
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace MauticPlugin\ProgramBundle\Service;
|
||||
namespace MauticPlugin\MT3SMarketingProgramBundle\Service;
|
||||
|
||||
use Mautic\CoreBundle\Helper\CoreParametersHelper;
|
||||
|
||||
@@ -12,17 +12,17 @@ use Mautic\CoreBundle\Helper\CoreParametersHelper;
|
||||
* Which attributes of an audience persona are offered on the forms is chosen there, one toggle per
|
||||
* attribute, so a b2b install and a b2c install define their personas differently. Each toggle is
|
||||
* a local.php parameter (default enabled; an admin turns off what they don't use):
|
||||
* - program_audience_attribute_tagline (Tagline)
|
||||
* - program_audience_attribute_profile (Profile criteria)
|
||||
* - program_audience_attribute_motivations (Motivations)
|
||||
* - program_audience_attribute_barriers (Barriers)
|
||||
* - program_audience_attribute_frustrations (Frustrations)
|
||||
* - program_audience_attribute_triggers (Triggers)
|
||||
* - program_audience_attribute_decision_role (Decision-making role; values program_audience_decision_roles)
|
||||
* - program_audience_attribute_tones (Preferred tones; values program_audience_tones)
|
||||
* - program_audience_attribute_channels (Preferred channels)
|
||||
* - program_audience_attribute_stages (Stages)
|
||||
* - program_audience_attribute_size (Estimated size)
|
||||
* - mt3s_marketing_program_audience_attribute_tagline (Tagline)
|
||||
* - mt3s_marketing_program_audience_attribute_profile (Profile criteria)
|
||||
* - mt3s_marketing_program_audience_attribute_motivations (Motivations)
|
||||
* - mt3s_marketing_program_audience_attribute_barriers (Barriers)
|
||||
* - mt3s_marketing_program_audience_attribute_frustrations (Frustrations)
|
||||
* - mt3s_marketing_program_audience_attribute_triggers (Triggers)
|
||||
* - mt3s_marketing_program_audience_attribute_decision_role (Decision-making role; values mt3s_marketing_program_audience_decision_roles)
|
||||
* - mt3s_marketing_program_audience_attribute_tones (Preferred tones; values mt3s_marketing_program_audience_tones)
|
||||
* - mt3s_marketing_program_audience_attribute_channels (Preferred channels)
|
||||
* - mt3s_marketing_program_audience_attribute_stages (Stages)
|
||||
* - mt3s_marketing_program_audience_attribute_size (Estimated size)
|
||||
*
|
||||
* The values of the decision roles and the tones are lists edited in the same place, with a name
|
||||
* per language — read through ItemTypeProvider (kinds "audience_decision_role" and "audience_tone").
|
||||
@@ -102,6 +102,6 @@ class AudienceAttributes
|
||||
*/
|
||||
public static function toggleParameter(string $attribute): string
|
||||
{
|
||||
return 'program_audience_attribute_'.$attribute;
|
||||
return 'mt3s_marketing_program_audience_attribute_'.$attribute;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user