Skip to content
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

Clear documentation #63

Open
charsleysa opened this issue Jul 29, 2021 · 0 comments
Open

Clear documentation #63

charsleysa opened this issue Jul 29, 2021 · 0 comments

Comments

@charsleysa
Copy link

Hi there,

One issue which isn't really documented and there is currently only one workaround for is that it is not possible to have a layout use different values depending on the template.

For example, the preheader cannot be set from the template even though it appears that way from the source code. The reason for this is that the template and layout are uploaded separately and any variables that the layouts use that are set by the template are stripped away.

The workaround is to add the information as a Template Model field when sending the email (which is far from ideal).
This makes it difficult to do things like customize the footer depending on the template.

The documentation should be updated and the preheaders in the template code should be removed to make this clearer.

Cheers,
Stefan

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

No branches or pull requests

1 participant