We want to modify the links that are at the top of the TicketViewZoom (Back | Unlock | History | Print | Priority | Link | Owner | .......)
We want to remove (or hide) two and add a new one (or maybe just relabel and re-purpose one of the ones we don't want). Also want to reorder the links.
I'm not sure where this configuration needs to be done. Is it in the dtl file for TicketViewZoom?
Tom
TicketViewZoom Links
Moderator: crythias
-
- 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: TicketViewZoom Links
Those links are configured in the SysConfig: Ticket -> Frontend::Agent::Ticket::MenuModule
To "remove" links you have to just disable the appropriate SysConfig option. To add a new one, you have to create a new SysConfig option - or change the settings for a disabled one...
If you want to create a new option, create a file "MyTicketMenu.xml" in <OTRS_HOME>/Kernel/Config/Files:
To "remove" links you have to just disable the appropriate SysConfig option. To add a new one, you have to create a new SysConfig option - or change the settings for a disabled one...
If you want to create a new option, create a file "MyTicketMenu.xml" in <OTRS_HOME>/Kernel/Config/Files:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Application">
<CVS>$Id: Ticket.xml,v 1.534 2012/11/12 09:34:38 mh Exp $</CVS>
<ConfigItem Name="Ticket::Frontend::MenuModule###004-MyLink" Required="0" Valid="1">
<Description Translatable="1">My link....</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Ticket::MenuModule</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::TicketMenuGeneric</Item>
<Item Key="Name">MyLink</Item>
<Item Key="Description" Translatable="1">My Menu Link</Item>
<Item Key="Action">MyAction</Item>
<Item Key="Link">$Env{"LastScreenOverview"};TicketID=$QData{"TicketID"}</Item>
<Item Key="Target"></Item>
<Item Key="PopupType"></Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
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
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: TicketViewZoom Links
Or apply appropriate groups and group memberships to the entries in SysConfig Module Registration.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny advanced
- Posts: 103
- Joined: 14 Nov 2012, 21:59
- Znuny Version: 3.1.6
- Real Name: Tom Nieman
- Company: WorkForce Software
Re: TicketViewZoom Links
Thanks everyone!
I'll see if I can find time to try this today. Too many meetings. 


-
- Znuny advanced
- Posts: 103
- Joined: 14 Nov 2012, 21:59
- Znuny Version: 3.1.6
- Real Name: Tom Nieman
- Company: WorkForce Software
Re: TicketViewZoom Links
I hijacked the Priorty link and got it working. Next question is how do I change the order of the links on the page?
Tom
Tom
-
- Znuny advanced
- Posts: 103
- Joined: 14 Nov 2012, 21:59
- Znuny Version: 3.1.6
- Real Name: Tom Nieman
- Company: WorkForce Software
Re: TicketViewZoom Links
Another question is what is AgentTicketMenuPre for?
-
- 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: TicketViewZoom Links
The ordering is done with the numbers after the "###" in the config item name...
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 advanced
- Posts: 103
- Joined: 14 Nov 2012, 21:59
- Znuny Version: 3.1.6
- Real Name: Tom Nieman
- Company: WorkForce Software
Re: TicketViewZoom Links
thanks again