diff --git a/Config/config.php b/Config/config.php index c71b4ab..15bd785 100644 --- a/Config/config.php +++ b/Config/config.php @@ -5,7 +5,7 @@ declare(strict_types=1); return [ 'name' => 'MT3S Marketing Program', 'description' => 'MT3S Marketing: programs, tasks, audiences, and smart links with their UTM taxonomies.', - 'version' => '0.18.1', + 'version' => '0.18.2', 'author' => 'Experiential', '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' => [ 'main' => [ 'mt3s.marketing_program.menu.root' => [ 'id' => 'mt3s_marketing_program_root', '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, 'children' => [ 'mt3s.marketing_program.menu.index' => [ @@ -120,36 +121,21 @@ return [ 'access' => ['mt3smarketingprogram:itemtypes:view'], 'priority' => 55, ], - ], - ], - - // 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' => [ + // 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. 'mt3s.smart_links.menu.taxonomies' => [ 'id' => 'mt3s_smart_links_taxonomies', 'route' => 'mt3s_smart_links_taxonomies', 'iconClass' => 'ri-price-tag-3-line', 'access' => ['mt3smarketingprogram:taxonomies:viewown', 'mt3smarketingprogram:taxonomies:viewother'], - 'priority' => 5, + 'priority' => 50, ], 'mt3s.smart_links.menu.smartlinks' => [ 'id' => 'mt3s_smart_links_index', 'route' => 'mt3s_smart_links_index', 'iconClass' => 'ri-link', 'access' => ['mt3smarketingprogram:smart_links:viewown', 'mt3smarketingprogram:smart_links:viewother'], - 'priority' => 4, + 'priority' => 45, ], ], ], diff --git a/Translations/en_US/messages.ini b/Translations/en_US/messages.ini index 1922007..2dc8276 100644 --- a/Translations/en_US/messages.ini +++ b/Translations/en_US/messages.ini @@ -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.none="No pictogram" -mt3s.smart_links.menu.root="Smart Links" mt3s.smart_links.menu.smartlinks="Smart Links" mt3s.smart_links.menu.taxonomies="UTM Taxonomies" ; Settings > Configuration tab title. Core builds this key from the form alias (mautic.config.tab.). diff --git a/Translations/fr_FR/messages.ini b/Translations/fr_FR/messages.ini index c6cb321..76c4e9b 100644 --- a/Translations/fr_FR/messages.ini +++ b/Translations/fr_FR/messages.ini @@ -1,4 +1,3 @@ -mt3s.smart_links.menu.root="Smart Links" mt3s.smart_links.menu.smartlinks="Smart Links" mt3s.smart_links.menu.taxonomies="Taxonomies UTM" diff --git a/readme.md b/readme.md index 0cf8c91..7fddc54 100644 --- a/readme.md +++ b/readme.md @@ -43,7 +43,8 @@ In short: - 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 - 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**, **Audiences**, **Stakeholders** and **Tasks**. - Tasks have types, statuses, planned dates and effort, and can depend on each other @@ -55,7 +56,7 @@ In short: ### 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 Mautic landing page / standalone form. Choose the redirect status code per link (301, 302, …).