From 4ceba4bc8dd88982e487a4d4e567876aa88b9fc8 Mon Sep 17 00:00:00 2001 From: Leon <55587275+oltmanns-leuchtfeuer@users.noreply.github.com> Date: Fri, 30 Jun 2023 14:37:31 +0200 Subject: [PATCH 1/3] Update variables.rst Added Pro tip for using Company variables --- docs/configuration/variables.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/configuration/variables.rst b/docs/configuration/variables.rst index 9be629ee..418834eb 100644 --- a/docs/configuration/variables.rst +++ b/docs/configuration/variables.rst @@ -137,6 +137,14 @@ 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": + + `Hi {contactfield=customfieldalias},` + + Mautic Component tokens *********************** From f707d36cbdb4637ab31299d6d27251c196e12709 Mon Sep 17 00:00:00 2001 From: Leon <55587275+oltmanns-leuchtfeuer@users.noreply.github.com> Date: Fri, 30 Jun 2023 14:38:26 +0200 Subject: [PATCH 2/3] Update variables.rst --- docs/configuration/variables.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/configuration/variables.rst b/docs/configuration/variables.rst index 418834eb..c51cebe9 100644 --- a/docs/configuration/variables.rst +++ b/docs/configuration/variables.rst @@ -137,6 +137,7 @@ See :doc:`Companies` for more information. * - Zip Code (Company) - ``{contactfield=companyzipcode}`` + .. tip:: Custom Company Fields From fcc619fd83c84e4268464bb87fc4dd5708c03f1d Mon Sep 17 00:00:00 2001 From: Leon Oltmanns <55587275+oltmanns-leuchtfeuer@users.noreply.github.com> Date: Fri, 14 Jun 2024 14:38:39 +0200 Subject: [PATCH 3/3] Update docs/configuration/variables.rst Added suggestions Co-authored-by: Ruth Cheesley --- 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 c51cebe9..2e9d22e7 100644 --- a/docs/configuration/variables.rst +++ b/docs/configuration/variables.rst @@ -141,7 +141,7 @@ See :doc:`Companies` for more information. .. 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, but instead treat it like a "contactfield": `Hi {contactfield=customfieldalias},`