You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can user template context variable in mail content, thats very good.
Can we some how display the context variables available for a given template in the edit page. This will help editor to use them without looking at the code that sends the mail.
I had a similar implementation where i added a field (context_variables) which displays the template variables available.
Problem with my application was that, editor may delete the values from there.
Some how we should set the permissions that if the editor is super_user, he can edit the field context_variables, for others this will be non-editable field.
The text was updated successfully, but these errors were encountered:
I'm not sure what you mean, context variables are only used during rendering when you pass them in via send_templated_mail and not stored anywhere in the database.
We can user template context variable in mail content, thats very good.
Can we some how display the context variables available for a given template in the edit page. This will help editor to use them without looking at the code that sends the mail.
I had a similar implementation where i added a field (context_variables) which displays the template variables available.
Problem with my application was that, editor may delete the values from there.
Some how we should set the permissions that if the editor is super_user, he can edit the field context_variables, for others this will be non-editable field.
The text was updated successfully, but these errors were encountered: