Azylog Posted September 25, 2017 Report Share Posted September 25, 2017 Hello, For one our customers, I'm trying to set up a specific logo in email_header.htm template. So I modified the template for his domain but it doesn't seems to be used. That's always the server one that's served. Is it a bug ? I tried to get around this bug and tried to get the domain name and build the logo URL in the main email_header.htm. Seems to work well but I have to add the domain varh to every template in the domain. Is there a way to make some kind of 'if' a variable is set and swtich between custom URL (of var is set) and default one (if var isn't set ?). Or better : get the domain name directly in the main template ? Hoping my question is clear. Best regards, Julien Quote Link to comment Share on other sites More sharing options...
Azylog Posted September 25, 2017 Author Report Share Posted September 25, 2017 Forgot to precise : our PBX version is 5.2.6 (pretty old) Quote Link to comment Share on other sites More sharing options...
ahennis@voicespring.net Posted September 25, 2017 Report Share Posted September 25, 2017 Regardless of how old the version is it would be worth knowing what config templates can only be changed at the server level vs the domain and phone level. Quote Link to comment Share on other sites More sharing options...
Support Posted September 25, 2017 Report Share Posted September 25, 2017 Hi, The hierarchy goes like this:- Extension level customization takes precedence over Domain level and Domain level takes precedence over Admin level. All the config templates can be changed at all the levels. Quote Link to comment Share on other sites More sharing options...
Azylog Posted September 25, 2017 Author Report Share Posted September 25, 2017 From what I experienced, with an customized email_header.htm at admin level, the domain level one isn't used. Tried many changes and only ones in the admin level template are used. BUT email_header.htm is somewhat specific as it's never called directly but included from other templates. Could it be the cause ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.