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
I have a attachment template registered for a notification.
There will be only one path echo'ed within the template.
Unfortunately it is working only, if the site is in production mode.
Otherwise, Contao will add it's template tags, causing your logic to use more than the actial path - the "is_file" check will then fail.
See: system/modules/notification_center/library/NotificationCenter/Util/StringUtil.php:76
Template when "dev" mode is enabled - not working:
Hi Guys,
I have a attachment template registered for a notification.
There will be only one path echo'ed within the template.
Unfortunately it is working only, if the site is in production mode.
Otherwise, Contao will add it's template tags, causing your logic to use more than the actial path - the "is_file" check will then fail.
See: system/modules/notification_center/library/NotificationCenter/Util/StringUtil.php:76
Template when "dev" mode is enabled - not working:
Template, when "prod" mode is enabled - working:
The text was updated successfully, but these errors were encountered: