Menü TicketAction - Weiteren Eintrag
Hallo OTRS-Community,
Version: OTRS 5
Ich möchte im Menü "TicketAction", also bei "Zurück | Sperren| Notiz | .." einen weiteren Menüeintrag hinzufügen.
Dazu hab ich eine neue XML-Datei erstellt und aus Datei: Ticket.xml z.B. die entsprechenden Blöcke für EmailOutbound kopiert und modifiziert.
Dabei soll die Funktion "OverviewAgents" einfach nur die Agenten einer Queue mit Recht 'rw' anzeigen.
Der neue Menüeintrag wird jedoch nicht angezeigt, obwohl das neue Modul in SysConfig registriert ist: Untergruppe: Frontend::Agent::ModuleRegistration Elemente: 51 Gruppe: Ticket
Untergruppe: Frontend::Agent::Ticket::MenuModule Elemente: 26 Gruppe: Ticket
Hab ich noch was übersehen?
Vielen Dank
Gruß
Sepp
XML-Datei: <?xml version="1.0" encoding="utf-8"?> <otrs_config version="1.0" init="Application">
<ConfigItem Name="Frontend::Module###OverviewAgents" Required="1" Valid="1"> <Description Translatable="1">Frontend module registration for the agent interface.</Description> <Group>Ticket</Group> <SubGroup>Frontend::Agent::ModuleRegistration</SubGroup> <Setting> <FrontendModuleReg> <Description Translatable="1">OverviewAgents</Description> <Title Translatable="1">OverviewAgents</Title> <NavBarName>Ticket</NavBarName> <Loader> <JavaScript>Core.Agent.TicketAction.js</JavaScript> </Loader> </FrontendModuleReg> </Setting> </ConfigItem>
<ConfigItem Name="Ticket::Frontend::MenuModule###450-OverviewAgents" Required="1" Valid="1"> <Description Translatable="1">Shows a link in the menu to access the OverviewAgents in the ticket zoom view of the agent interface. Additional access control to show or not show this link can be done by using Key "Group" and Content like "rw:group1;move_into:group2". To cluster menu items use for Key "ClusterName" and for the Content any name you want to see in the UI. Use "ClusterPriority" to configure the order of a certain cluster within the toolbar.</Description> <Group>Ticket</Group> <SubGroup>Frontend::Agent::Ticket::MenuModule</SubGroup> <Setting> <Hash> <Item Key="Module">Kernel::Output::HTML::TicketMenu::Generic</Item> <Item Key="Name" Translatable="1">Overview Agents</Item> <Item Key="Description" Translatable="1">Show the AgentsOverview</Item> <Item Key="Action">OverviewAgents</Item> <Item Key="Link">Action=OverviewAgents;TicketID=[% Data.TicketID | html %]</Item> <Item Key="Target"></Item> <Item Key="PopupType">TicketAction</Item> <Item Key="ClusterName"></Item> <Item Key="ClusterPriority"></Item> </Hash> </Setting> </ConfigItem> </otrs_config>
participants (1)
-
Josef Penzkofer