Dear All ,
Please me add template when Click Tikets / New Email ticket (template include image and text)
Thank you
HOw to add template when create new email ticket
Moderator: crythias
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: HOw to add template when create new email ticket
In the Template file (AgentTicketEmail.tt) there is a comment block at the bottom where you can define your template (not sure if it works for images, you could try base64 encoding). Somewhere 1/3 down the file is a commented block about how to activate the template-buttons.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
-
- Znuny newbie
- Posts: 14
- Joined: 04 Dec 2014, 12:02
- Znuny Version: otrs-4.02
- Real Name: Scott Zụ
- Company: VPBank
- Contact:
Re: HOw to add template when create new email ticket
Dear RStraub ,
Thank for your help , but i am not understood, could you please share detail .
Thank for your help , but i am not understood, could you please share detail .
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: HOw to add template when create new email ticket
For example the AgentTicketPhone.tt:
https://github.com/OTRS/otrs/blob/maste ... ail.tt#L44
If you uncomment that block, you get a button to trigger a template. The template itself is defined here:
https://github.com/OTRS/otrs/blob/maste ... il.tt#L646
https://github.com/OTRS/otrs/blob/maste ... ail.tt#L44
If you uncomment that block, you get a button to trigger a template. The template itself is defined here:
https://github.com/OTRS/otrs/blob/maste ... il.tt#L646
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
-
- Znuny newbie
- Posts: 14
- Joined: 04 Dec 2014, 12:02
- Znuny Version: otrs-4.02
- Real Name: Scott Zụ
- Company: VPBank
- Contact:
Re: HOw to add template when create new email ticket
Dear RStraub ,
Thank you
I want when click Tickets/New email ticket and allow user choose (or add default ) template from Admin/Template (template as type Email) to (* Text) of New email ticket.
Thank you
I want when click Tickets/New email ticket and allow user choose (or add default ) template from Admin/Template (template as type Email) to (* Text) of New email ticket.
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: HOw to add template when create new email ticket
That would require even more modding. Easiest would be to just copy + pasty (and change syntax to html) that template into the .tt file.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
-
- Znuny newbie
- Posts: 14
- Joined: 04 Dec 2014, 12:02
- Znuny Version: otrs-4.02
- Real Name: Scott Zụ
- Company: VPBank
- Contact:
Re: HOw to add template when create new email ticket
Dear RStraub ,
i has resolve .
I has create new Template with type is Create and map this Template with Queue. So when create new email ticket allow choose template
i has resolve .
I has create new Template with type is Create and map this Template with Queue. So when create new email ticket allow choose template
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: HOw to add template when create new email ticket
Glad to hear! Your response made me giggle as it reminded me very much of lolcatz 

Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS