Skip to content

Add documentation for contact field label modifier #395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 5.x
Choose a base branch
from

Conversation

kuzmany
Copy link
Member

@kuzmany kuzmany commented May 30, 2025

Description

This PR adds documentation for the new < /dev/null | label modifier that allows displaying human-readable labels for select and boolean contact fields instead of their stored values.

Changes

  • Added new "Token modifiers" section in /docs/configuration/variables.rst explaining the label modifier syntax
  • Added subsection in /docs/channels/emails.rst under Tokens section with examples
  • Included examples for both contact and company fields

Examples documented

  • Contact select field: {contactfield=select_alias|label}
  • Contact boolean field: {contactfield=bool_alias|label}
  • Company select field: {contactfield=company_select_alias|label}
  • Company boolean field: {contactfield=company_bool_alias|label}

Related PR

Related to mautic/mautic#12620

@kuzmany kuzmany changed the base branch from main to 5.x May 30, 2025 11:10
@kuzmany kuzmany force-pushed the update-contactfield-token-label-docs branch from e628de3 to 2f0251c Compare May 30, 2025 11:11
Add documentation for the new  < /dev/null | label modifier that displays human-readable labels for select and boolean contact fields instead of stored values.

Related to mautic/mautic#12620
@kuzmany kuzmany force-pushed the update-contactfield-token-label-docs branch from 2f0251c to e99ebb7 Compare May 30, 2025 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant