Edit the email template

Moderator: crythias

Locked
nathanb
Znuny newbie
Posts: 4
Joined: 31 Dec 2015, 13:17
Znuny Version: Version 6
Real Name: Nathan
Company: Print

Edit the email template

Post by nathanb »

Hello everyone,

Is it possible to change the html of the notification mail?
I have my own html template that I want to use.

Regards,

Nathan
netjess
Znuny expert
Posts: 172
Joined: 16 Nov 2011, 23:35
Znuny Version: 6.0.16
Real Name: Jesse
Company: Mercer Valve Company
Location: Oklahoma USA
Contact:

Re: Edit the email template

Post by netjess »

nathanb wrote:Hello everyone,

Is it possible to change the html of the notification mail?
I have my own html template that I want to use.

Regards,

Nathan
Nathan,
You can export the Admin Notifications and then edit them and then import the edited version.
In the Agent UI click Admin > Ticket Notifications, then select a notification that closely matches what you want to edit.

You could dig around and edit the code from outside the system but you would have to remember that doing it that way then and update would overwrite it and you would have to update again.
Powered by OTRS 6
Active Directory LDAP Integration.
Ubuntu 18 LTS, Apache2, PostgreSQL.
nathanb
Znuny newbie
Posts: 4
Joined: 31 Dec 2015, 13:17
Znuny Version: Version 6
Real Name: Nathan
Company: Print

Re: Edit the email template

Post by nathanb »

Hello netjess,

Thank you for your reply!

With this you can only edit the content of what goes inside the template, but the grey and yellow bar on top of it can't be changed by this method.
I would like to change the text and the colors if possible.
Maybe the attached file better explains things.
screen01.png
Is there a way to change this?
It doesn't matter if this reverts back after an update.
You do not have the required permissions to view the files attached to this post.
netjess
Znuny expert
Posts: 172
Joined: 16 Nov 2011, 23:35
Znuny Version: 6.0.16
Real Name: Jesse
Company: Mercer Valve Company
Location: Oklahoma USA
Contact:

Re: Edit the email template

Post by netjess »

Hello,
Sorry for late response. Don't know if you figured this out.
The bar and subject test would be controlled by a Theme. By default you have the standard orange and the "Ivory" theme that is a blue color.
You would have to learn how to build a new theme or search for themes that others have built and apply that to your system.
Powered by OTRS 6
Active Directory LDAP Integration.
Ubuntu 18 LTS, Apache2, PostgreSQL.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Edit the email template

Post by reneeb »

This is all configured in the template. See https://github.com/OTRS/otrs/blob/maste ... Default.tt
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked