Skip to content

Document translatable theme tags#526

Open
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/pr-15691-theme-tags
Open

Document translatable theme tags#526
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/pr-15691-theme-tags

Conversation

@promptless-for-oss

Copy link
Copy Markdown
Contributor

Open this suggestion in Promptless to view citations and reasoning process

Add documentation for the new tags property in theme config.json that allows themes to be categorized in the Theme selector UI. Documents the built-in tag values and notes special styling for the adaptative tag.

Trigger Events


Tip: Use Vale? Add your vale.ini when setting up your Docs Collection.

Add documentation for the new tags property in theme config.json that
allows themes to be categorized in the Theme selector UI. Includes
the list of built-in tag values and notes the special styling for the
adaptative tag.

Related PR: mautic/mautic#15691
**builder**
This contains an array of strings declaring which Builder the Theme supports. This currently only applies to Themes that support ``page`` or ``email``. By default, Themes without this line are only recognized by Mautic's Legacy Builder. New Themes built should declare the specific Builders it supports.

**tags**

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.

Added tags property documentation based on PR #15691 which introduces translatable tags for themes. The built-in tag values are derived from messages.ini translation keys and the special adaptative styling is implemented in theme_select.html.twig.

Source: mautic/mautic#15691

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