I have this problem
i need hide type when agent create a new ticket
what i need to change on AgentTicketPhone.tt
Please help me
How to hide TICKET TYPE (Resolved)
Moderator: crythias
-
- Znuny newbie
- Posts: 39
- Joined: 06 Apr 2016, 17:18
- Znuny Version: 6.0.4
- Real Name: Jazmin Medina
- Company: Private
How to hide TICKET TYPE (Resolved)
Last edited by JazzMed13 on 14 Oct 2016, 18:37, edited 1 time in total.
Re: How to hide TICKET TYPE
Hi,
use a ACL.
Flo
use a ACL.
Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
Re: How to hide TICKET TYPE
switch off type via sysconfig
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 39
- Joined: 06 Apr 2016, 17:18
- Znuny Version: 6.0.4
- Real Name: Jazmin Medina
- Company: Private
Re: How to hide TICKET TYPE
wurzel wrote:Hi,
use a ACL.
Flo
CAN YOU TELL ME MORE INFO ABOUT HOW TO CREATE ACL PLEASE
Re: How to hide TICKET TYPE
I would start off reading this: https://otrs.github.io/doc/manual/admin ... ation.html
And please don't write in upper case...
And please don't write in upper case...
-
- 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: How to hide TICKET TYPE
ACLs can limit the shown values, but *not* hide a field...
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 39
- Joined: 06 Apr 2016, 17:18
- Znuny Version: 6.0.4
- Real Name: Jazmin Medina
- Company: Private
Re: How to hide TICKET TYPE
with this code
[% RenderBlockStart("TicketType") %]
<div>
<!--
<label for="TicketNumber">[% Config("Ticket::Hook") %]</label>
<input title="Ticket#" type="text" name="TicketNumber" size="30" value="[% Data.TicketNumber | html %]" />
-->
<label for="TypeID" class="Mandatory"><span class="Marker">*</span>[% Translate("Type") | html %]:</label>
[% Data.TypeStrg %]
<div id="TypeIDError" class="TooltipErrorMessage" ><p>[% Translate("This field is required.") | html %]</p></div>
<div id="TypeIDServerError" class="TooltipErrorMessage NoJavaScriptMessage[% Data.TypeIDInvalid | html %]" ><p>[% Translate("This field is required.") | html %]</p></div>
<div class="Clear"></div>
</div>
[% WRAPPER JSOnDocumentComplete %]
<script type="text/javascript">//<![CDATA[
$('#TypeID').bind('change', function (Event) {
Core.AJAX.FormUpdate($('#NewCustomerTicket'), 'AJAXUpdate', 'TypeID', ['Dest', 'PriorityID', 'ServiceID', 'SLAID', [% Data.DynamicFieldNamesStrg %]]);
});
//]]></script>
[% END %]
[% RenderBlockEnd("TicketType") %]
can i change by a predetermined value that way hide the field Ticket Type
[% RenderBlockStart("TicketType") %]
<div>
<!--
<label for="TicketNumber">[% Config("Ticket::Hook") %]</label>
<input title="Ticket#" type="text" name="TicketNumber" size="30" value="[% Data.TicketNumber | html %]" />
-->
<label for="TypeID" class="Mandatory"><span class="Marker">*</span>[% Translate("Type") | html %]:</label>
[% Data.TypeStrg %]
<div id="TypeIDError" class="TooltipErrorMessage" ><p>[% Translate("This field is required.") | html %]</p></div>
<div id="TypeIDServerError" class="TooltipErrorMessage NoJavaScriptMessage[% Data.TypeIDInvalid | html %]" ><p>[% Translate("This field is required.") | html %]</p></div>
<div class="Clear"></div>
</div>
[% WRAPPER JSOnDocumentComplete %]
<script type="text/javascript">//<![CDATA[
$('#TypeID').bind('change', function (Event) {
Core.AJAX.FormUpdate($('#NewCustomerTicket'), 'AJAXUpdate', 'TypeID', ['Dest', 'PriorityID', 'ServiceID', 'SLAID', [% Data.DynamicFieldNamesStrg %]]);
});
//]]></script>
[% END %]
[% RenderBlockEnd("TicketType") %]
can i change by a predetermined value that way hide the field Ticket Type