From 07f4e81790862d63bc03360c70c8e377bd521105 Mon Sep 17 00:00:00 2001 From: Leon Oltmanns <55587275+oltmanns-leuchtfeuer@users.noreply.github.com> Date: Fri, 14 Jun 2024 14:44:59 +0200 Subject: [PATCH 1/5] Added ProTip to Variables for using Custom Company Fields The documentation lacks a hint, that the syntax for using core company fields as tokens and custom created onces is different. I added a small "ProTip" to briefly explain this difference. --- docs/configuration/variables.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/configuration/variables.rst b/docs/configuration/variables.rst index 9be629ee..08a1a30b 100644 --- a/docs/configuration/variables.rst +++ b/docs/configuration/variables.rst @@ -137,6 +137,11 @@ See :doc:`Companies` for more information. * - Zip Code (Company) - ``{contactfield=companyzipcode}`` +.. tip:: + Custom Company Fields + + The syntax for custom Company fields is different than the core Company field syntax. You must **not** add the word "Company" in the variable, but instead treat it like a "contactfield": + Mautic Component tokens *********************** From edb892c6e55cdcff04d30f8524f2cb7451685051 Mon Sep 17 00:00:00 2001 From: Ayu Adiati Date: Wed, 28 Jan 2026 09:05:36 +0100 Subject: [PATCH 2/5] address vale warnings and fix format --- docs/configuration/variables.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/configuration/variables.rst b/docs/configuration/variables.rst index 08a1a30b..1a9a8247 100644 --- a/docs/configuration/variables.rst +++ b/docs/configuration/variables.rst @@ -137,10 +137,9 @@ See :doc:`Companies` for more information. * - Zip Code (Company) - ``{contactfield=companyzipcode}`` -.. tip:: - Custom Company Fields +.. tip:: Custom Company fields - The syntax for custom Company fields is different than the core Company field syntax. You must **not** add the word "Company" in the variable, but instead treat it like a "contactfield": + The syntax for custom Company fields is different than the core Company field syntax. You must **not** add the word "Company" in the variable; instead, treat it like a ``contactfield``. Mautic Component tokens *********************** From a11c4613b97f1cd4b512dc5b25bb80f5c1023ae5 Mon Sep 17 00:00:00 2001 From: Ayu Adiati Date: Wed, 28 Jan 2026 09:12:44 +0100 Subject: [PATCH 3/5] minor wording fix --- docs/configuration/variables.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/configuration/variables.rst b/docs/configuration/variables.rst index 1a9a8247..85f407f3 100644 --- a/docs/configuration/variables.rst +++ b/docs/configuration/variables.rst @@ -137,9 +137,11 @@ See :doc:`Companies` for more information. * - Zip Code (Company) - ``{contactfield=companyzipcode}`` -.. tip:: Custom Company fields +.. tip:: + + **Custom Company fields** - The syntax for custom Company fields is different than the core Company field syntax. You must **not** add the word "Company" in the variable; instead, treat it like a ``contactfield``. + The syntax for custom Company fields is different than the core Company field syntax. You must **not** add the word "Company" in the variable; instead, treat it as a ``contactfield``. Mautic Component tokens *********************** From 8f8245780dd7b38212c112d96e46ab36ccbbaf5d Mon Sep 17 00:00:00 2001 From: Ayu Adiati Date: Wed, 28 Jan 2026 10:21:55 +0100 Subject: [PATCH 4/5] fix incorrect URL and rename file for clarity --- .../{mautic_api_documentation.py => mautic_reports_api_docs.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename docs/links/{mautic_api_documentation.py => mautic_reports_api_docs.py} (69%) diff --git a/docs/links/mautic_api_documentation.py b/docs/links/mautic_reports_api_docs.py similarity index 69% rename from docs/links/mautic_api_documentation.py rename to docs/links/mautic_reports_api_docs.py index 01da5cfd..6e127460 100644 --- a/docs/links/mautic_api_documentation.py +++ b/docs/links/mautic_reports_api_docs.py @@ -2,6 +2,6 @@ link_name = "Reports API documentation" link_text = "Reports API documentation" -link_url = "https://devdocs.mautic.org/en/5.x/components/reports.html" +link_url = "https://devdocs.mautic.org/en/5.x/rest_api/reports.html" link.xref_links.update({link_name: (link_text, link_url)}) \ No newline at end of file From 81af3111d2ccf8795640b17041fc3c4606d40533 Mon Sep 17 00:00:00 2001 From: Ayu Adiati <45172775+adiati98@users.noreply.github.com> Date: Wed, 28 Jan 2026 10:40:13 +0100 Subject: [PATCH 5/5] remove semicolon --- docs/configuration/variables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/variables.rst b/docs/configuration/variables.rst index 85f407f3..c7e1fdef 100644 --- a/docs/configuration/variables.rst +++ b/docs/configuration/variables.rst @@ -141,7 +141,7 @@ See :doc:`Companies` for more information. **Custom Company fields** - The syntax for custom Company fields is different than the core Company field syntax. You must **not** add the word "Company" in the variable; instead, treat it as a ``contactfield``. + The syntax for custom Company fields differs from core Company field syntax. You must **not** add the word "Company" in the variable and instead treat it as a ``contactfield``. Mautic Component tokens ***********************