When creating a new ticket, it does not allow to paste image on the message area . But when replying to ticket, it is ok. It would be great to also allow the pasting of image for creating of new ticket.
Best posts made by Michael Neo
-
Image in new ticket
Latest posts made by Michael Neo
-
RE: Add Customer Contact to Workflow Condition
I would like to select Customer contact number as a condition in Workflow. It only allows to select Name and email address.
Hope it's clear now.
Cheers.
-
Add Customer Contact to Workflow Condition
Hi,
How can I add customer contact as a workflow condition? Currently there are only Customer Name and Emal address.
Thank you.
Cheers,
Michael. -
RE: Image in new ticket
@peopleinside
I don't have any issue with the attachment. When my "customer" paste image on the message text area and submit the ticket, it is successful. However, the "agent" or the "customer" try to view/reply the ticket from the member or knowledgebase ticket view, the image is not displayed. Refer to below images link.My PHP version
-
RE: Image in new ticket
@sanjeev
I overwrite both files but it doesn't work. I did a check on the differences between the old and new (one that you asked to replace) files.The ticketView.html.twig file seem like no different.
Where the ticket.html.twig different is as shown below:
Comparing files ticket.htmlold.twig and TICKET.HTML.TWIG
***** ticket.htmlold.twig
<span class="uv-icon-channel uv-channel-email"></span> <span>{{ 'Email'|trans }}</span>
{% else %}
<span class="uv-icon-channel uv-channel-web"></span> <span>{{ 'Website'|trans }}</span>
{% endif %}
***** TICKET.HTML.TWIG
<span class="uv-icon-channel uv-channel-email"></span> <span>{{ 'Email'|trans }}</span>
{% elseif ticket.source == 'formbuilder' %}
<span class="uv-icon-channel uv-channel-form"></span> <span>{{ 'Formbuilder'|trans }}</span>
{% else %}
<span class="uv-icon-channel uv-channel-web"></span> <span>{{ 'Website'|trans }}</span>
{% endif %}
***** ticket.htmlold.twig
{% for type in ticketTypeCollection %}
<li data-index="{{ type.id }}"><a href="#">{{ type.description }}</a></li>
{% endfor %}
***** TICKET.HTML.TWIG
{% for type in ticketTypeCollection %}
<li data-index="{{ type.id }}"><a href="#">{{ type.code }}</a></li>
{% endfor %}
***** ticket.htmlold.twig
(<a id="more-tickets-btn" href="{{ path('helpdesk_member_ticket_collection') }}#customer/{{customer
.id}}" target="_blank">{{ '%count% more ticket|%count% more tickets'|transchoice(totalCustomerTickets) }}</a>)
{% endif %}
***** TICKET.HTML.TWIG
(<a id="more-tickets-btn" href="{{ path('helpdesk_member_ticket_collection') }}#customer/{{customer
.id}}" target="_blank">{{ 'count more tickets'|trans({'count': totalCustomerTickets}) }}</a>)
{% endif %}
***** ticket.htmlold.twig
</div><div class="uv-element-block">
***** TICKET.HTML.TWIG
</div><div class="uv-element-block">
***** ticket.htmlold.twig
<div class="uv-field-block">
<textarea name="reply" id="uv-edit-create-thread" class="uv-field">{{ initialThread.message }}</tex
tarea>
</div>
***** TICKET.HTML.TWIG
<div class="uv-field-block">
{% if initialThread.message|striptags == initialThread.message %}
<textarea name="reply" id="uv-edit-create-thread" class="uv-field">{{ initialThread.message|nl2
br }}</textarea>
%} {% else %}
<textarea name="reply" id="uv-edit-create-thread" class="uv-field">{{ initialThread.message|raw
}}</textarea>
{% endif %}
</div>
-
RE: Image in new ticket
@sanjeev
Thanks for the info. It works.However, when I view the ticket the image is displayed.
Is there anything I miss out. Thanks.
-
RE: Image in new ticket
@peopleinside
I am sure I have already updated to the latest version (1.0.18). Is there anywhere I could check my version? Or is there anything I could do to enable this? -
Image in new ticket
When creating a new ticket, it does not allow to paste image on the message area . But when replying to ticket, it is ok. It would be great to also allow the pasting of image for creating of new ticket.