feat(menu): move UTM Taxonomies and Smart Links into the Marketing Programs menu (0.18.2)
The standalone top-level "Smart Links" menu group is removed: its two pages, UTM Taxonomies then Smart Links, are now the last children of the Marketing Programs menu (priorities 50 and 45). - the root's access array gains the smart_links and taxonomies view permissions, so users with only Smart Links rights still get the menu (Mautic checks the parent's access before showing the group) - the now-unused mt3s.smart_links.menu.root translation key is removed from the en_US and fr_FR catalogs - routes, tables, permissions and URLs are unchanged - version bumped to 0.18.2 (plugins:reload picks the menu change up)
This commit is contained in:
1 parent
603e564037
commit
88256ca345
4 files changed
+11
-26
No files matched your search
+8
-22
@@ -5,7 +5,7 @@ declare(strict_types=1);
|
|||||||
return [
|
return [
|
||||||
'name' => 'MT3S Marketing Program',
|
'name' => 'MT3S Marketing Program',
|
||||||
'description' => 'MT3S Marketing: programs, tasks, audiences, and smart links with their UTM taxonomies.',
|
'description' => 'MT3S Marketing: programs, tasks, audiences, and smart links with their UTM taxonomies.',
|
||||||
'version' => '0.18.1',
|
'version' => '0.18.2',
|
||||||
'author' => 'Experiential',
|
'author' => 'Experiential',
|
||||||
|
|
||||||
'routes' => [
|
'routes' => [
|
||||||
@@ -81,13 +81,14 @@ return [
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
// Top-level "Programs" menu. Future program objects go in its children, after Programs.
|
// Top-level "Marketing Programs" menu. Future program objects go in its children, after
|
||||||
|
// Programs; the Smart Links domain's pages (UTM Taxonomies, Smart Links) close the menu.
|
||||||
'menu' => [
|
'menu' => [
|
||||||
'main' => [
|
'main' => [
|
||||||
'mt3s.marketing_program.menu.root' => [
|
'mt3s.marketing_program.menu.root' => [
|
||||||
'id' => 'mt3s_marketing_program_root',
|
'id' => 'mt3s_marketing_program_root',
|
||||||
'iconClass' => 'ri-calendar-line',
|
'iconClass' => 'ri-calendar-line',
|
||||||
'access' => ['mt3smarketingprogram:programs:viewown', 'mt3smarketingprogram:programs:viewother', 'mt3smarketingprogram:tasks:viewown', 'mt3smarketingprogram:tasks:viewother', 'mt3smarketingprogram:stakeholders:viewown', 'mt3smarketingprogram:stakeholders:viewother', 'mt3smarketingprogram:audiences:viewown', 'mt3smarketingprogram:audiences:viewother', 'mt3smarketingprogram:itemtypes:view'],
|
'access' => ['mt3smarketingprogram:programs:viewown', 'mt3smarketingprogram:programs:viewother', 'mt3smarketingprogram:tasks:viewown', 'mt3smarketingprogram:tasks:viewother', 'mt3smarketingprogram:stakeholders:viewown', 'mt3smarketingprogram:stakeholders:viewother', 'mt3smarketingprogram:audiences:viewown', 'mt3smarketingprogram:audiences:viewother', 'mt3smarketingprogram:itemtypes:view', 'mt3smarketingprogram:smart_links:viewown', 'mt3smarketingprogram:smart_links:viewother', 'mt3smarketingprogram:taxonomies:viewown', 'mt3smarketingprogram:taxonomies:viewother'],
|
||||||
'priority' => 5,
|
'priority' => 5,
|
||||||
'children' => [
|
'children' => [
|
||||||
'mt3s.marketing_program.menu.index' => [
|
'mt3s.marketing_program.menu.index' => [
|
||||||
@@ -120,36 +121,21 @@ return [
|
|||||||
'access' => ['mt3smarketingprogram:itemtypes:view'],
|
'access' => ['mt3smarketingprogram:itemtypes:view'],
|
||||||
'priority' => 55,
|
'priority' => 55,
|
||||||
],
|
],
|
||||||
],
|
// The Smart Links domain (UTM taxonomies, then the links) closes the menu, in
|
||||||
],
|
// that order. It is no longer a top-level group of its own.
|
||||||
|
|
||||||
// Top-level "Smart Links" menu: UTM Taxonomies above the Smart Links list. The two
|
|
||||||
// domains (Marketing Program and Smart Links) stay separate menu groups.
|
|
||||||
'mt3s.smart_links.menu.root' => [
|
|
||||||
'id' => 'mt3s_smart_links',
|
|
||||||
'route' => 'mt3s_smart_links_index',
|
|
||||||
'iconClass' => 'ri-links-line',
|
|
||||||
'access' => [
|
|
||||||
'mt3smarketingprogram:smart_links:viewown',
|
|
||||||
'mt3smarketingprogram:smart_links:viewother',
|
|
||||||
'mt3smarketingprogram:taxonomies:viewown',
|
|
||||||
'mt3smarketingprogram:taxonomies:viewother',
|
|
||||||
],
|
|
||||||
'priority' => 4,
|
|
||||||
'children' => [
|
|
||||||
'mt3s.smart_links.menu.taxonomies' => [
|
'mt3s.smart_links.menu.taxonomies' => [
|
||||||
'id' => 'mt3s_smart_links_taxonomies',
|
'id' => 'mt3s_smart_links_taxonomies',
|
||||||
'route' => 'mt3s_smart_links_taxonomies',
|
'route' => 'mt3s_smart_links_taxonomies',
|
||||||
'iconClass' => 'ri-price-tag-3-line',
|
'iconClass' => 'ri-price-tag-3-line',
|
||||||
'access' => ['mt3smarketingprogram:taxonomies:viewown', 'mt3smarketingprogram:taxonomies:viewother'],
|
'access' => ['mt3smarketingprogram:taxonomies:viewown', 'mt3smarketingprogram:taxonomies:viewother'],
|
||||||
'priority' => 5,
|
'priority' => 50,
|
||||||
],
|
],
|
||||||
'mt3s.smart_links.menu.smartlinks' => [
|
'mt3s.smart_links.menu.smartlinks' => [
|
||||||
'id' => 'mt3s_smart_links_index',
|
'id' => 'mt3s_smart_links_index',
|
||||||
'route' => 'mt3s_smart_links_index',
|
'route' => 'mt3s_smart_links_index',
|
||||||
'iconClass' => 'ri-link',
|
'iconClass' => 'ri-link',
|
||||||
'access' => ['mt3smarketingprogram:smart_links:viewown', 'mt3smarketingprogram:smart_links:viewother'],
|
'access' => ['mt3smarketingprogram:smart_links:viewown', 'mt3smarketingprogram:smart_links:viewother'],
|
||||||
'priority' => 4,
|
'priority' => 45,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -337,7 +337,6 @@ mt3s.marketing_program.config.currency.help="Users don't choose a currency: ever
|
|||||||
mt3s.marketing_program.config.type.icon="Pictogram"
|
mt3s.marketing_program.config.type.icon="Pictogram"
|
||||||
mt3s.marketing_program.config.type.icon.none="No pictogram"
|
mt3s.marketing_program.config.type.icon.none="No pictogram"
|
||||||
|
|
||||||
mt3s.smart_links.menu.root="Smart Links"
|
|
||||||
mt3s.smart_links.menu.smartlinks="Smart Links"
|
mt3s.smart_links.menu.smartlinks="Smart Links"
|
||||||
mt3s.smart_links.menu.taxonomies="UTM Taxonomies"
|
mt3s.smart_links.menu.taxonomies="UTM Taxonomies"
|
||||||
; Settings > Configuration tab title. Core builds this key from the form alias (mautic.config.tab.<alias>).
|
; Settings > Configuration tab title. Core builds this key from the form alias (mautic.config.tab.<alias>).
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
mt3s.smart_links.menu.root="Smart Links"
|
|
||||||
mt3s.smart_links.menu.smartlinks="Smart Links"
|
mt3s.smart_links.menu.smartlinks="Smart Links"
|
||||||
mt3s.smart_links.menu.taxonomies="Taxonomies UTM"
|
mt3s.smart_links.menu.taxonomies="Taxonomies UTM"
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,8 @@ In short:
|
|||||||
|
|
||||||
- A **Marketing Programs** menu with the program list, the task list, the stakeholder directory,
|
- A **Marketing Programs** menu with the program list, the task list, the stakeholder directory,
|
||||||
the audience directory and the **Item types** page where you define the types used by
|
the audience directory and the **Item types** page where you define the types used by
|
||||||
programs (with their pictograms), tasks, stakeholders and audiences.
|
programs (with their pictograms), tasks, stakeholders and audiences. The Smart Links pages
|
||||||
|
(UTM Taxonomies and Smart Links) close the same menu.
|
||||||
- A program page with seven tabs: **Details**, **Insights**, **Objectives**, **Allocations**,
|
- A program page with seven tabs: **Details**, **Insights**, **Objectives**, **Allocations**,
|
||||||
**Audiences**, **Stakeholders** and **Tasks**.
|
**Audiences**, **Stakeholders** and **Tasks**.
|
||||||
- Tasks have types, statuses, planned dates and effort, and can depend on each other
|
- Tasks have types, statuses, planned dates and effort, and can depend on each other
|
||||||
@@ -55,7 +56,7 @@ In short:
|
|||||||
|
|
||||||
### Smart Links
|
### Smart Links
|
||||||
|
|
||||||
- A **Smart Links** menu with your short links and their **UTM Taxonomies**.
|
- **Smart Links** and **UTM Taxonomies**, the last two items of the **Marketing Programs** menu.
|
||||||
- Each link is a short slug (up to 9 characters) plus a destination: an external URL, or a
|
- Each link is a short slug (up to 9 characters) plus a destination: an external URL, or a
|
||||||
Mautic landing page / standalone form. Choose the redirect status code per link
|
Mautic landing page / standalone form. Choose the redirect status code per link
|
||||||
(301, 302, …).
|
(301, 302, …).
|
||||||
|
|||||||
Reference in new issue
Block a user