Please provide more "global" email template variables... #44548
Unanswered
vonschappler
asked this question in
Feature Requests
Replies: 1 comment 1 reply
-
|
If it's not available in the notification emails then it's a bug and should be raised as such rather than a feature request. This is indeed a bug as I just checked the code base and it's missing the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It just came to my attention that some variables like for example {{ .SiteUrl }} should be set for all email templates.
Reason why Im saying this it's because I saw this odd behavior:
is causing a break on the custom email templates created (like not redirecting to the correct links that relies on {{ .SiteUrl }} or not rendering / linking the images correctly, if they are hosted into {{ .SiteUrl }} as shown in the images above (case 1 and case 2)
I would kindly suggest the auth team to consider setting {{ .SiteUrl }} and all other possible "global / project variables" accessible to all email templates to avoid the behavior shown above!
Since we have access to {{ .SiteUrl }} and would need access to that for any and all email templates, I suppose that is for avoid hardcoding its value into our project, then I ask: "Why this "possibly global variable" can't be accessed in all email templates?"
Note
{{ .SiteUrl }} was one of the variables I noticed that should be exposed to all email templates, but there could be more variables to se considered as globally exposed to all email templates!
Beta Was this translation helpful? Give feedback.
All reactions