Skip to content

docs: Update default Contact social field tokens (X, TikTok, YouTube) in variables reference#812

Draft
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/contact-social-fields-x-tiktok-youtube-7.2
Draft

docs: Update default Contact social field tokens (X, TikTok, YouTube) in variables reference#812
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/contact-social-fields-x-tiktok-youtube-7.2

Conversation

@promptless-for-oss

Copy link
Copy Markdown
Contributor

Open this suggestion in Promptless to view citations and reasoning process

Aligns the Contact field token tables in docs/configuration/variables.rst with mautic/mautic PR #16413: removes the Foursquare, Google+, and Skype tokens, renames Twitter to X (the {contactfield=twitter} alias is unchanged), and adds TikTok and YouTube tokens. Targets the 7.2 user docs branch per the LTC branch-targeting table.

Trigger Events


Tip: Attach PDFs in Slack messages to Promptless—it can even extract images from them 📎

Reflect mautic/mautic PR #16413: remove Foursquare, Google+, and Skype
contact field tokens; rename Twitter to X (alias unchanged); add TikTok
and YouTube tokens in both variable tables.
- ``{contactfield=tiktok}``
* - X
- ``{contactfield=twitter}``
* - Title

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #16413 updated tokens_help_bundle.html.twig and messages.ini to drop the foursquare, googleplus, and skype contact field tokens, relabel twitter to X (keeping the {contactfield=twitter} token), and add {contactfield=tiktok} and {contactfield=youtube}. I mirrored those exact token changes in the Contact fields token table.

Source: https://github.com/mautic/mautic/pull/16413/files#diff-tokens_help_bundle

* - X
- ``{contactfield=twitter}``
* - YouTube
- ``{contactfield=youtube}``

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #16413's FieldModel.php default social field set and messages.ini field labels (mautic.lead.field.twitter="X", new tiktok/youtube) confirm the same removals, the Twitter→X relabel, and the TikTok/YouTube additions, so I applied the identical changes to the alphabetical token table.

Source: mautic/mautic#16413

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants