MenuModule in Main-MenuBar

"Josef1 Penzkofer" <[email protected]>
Newsgroups gmane.comp.otrs.devel
Message-ID <[email protected]>
Hello developer-community,

I would like to insert another Module - called "Quick-Tickets", which has the same functionality like the Module "Phone-Ticket". Although i know, you can create a Ticket-Template within a Phone-Ticket", i need this Module to handle quick calls. The need is, because the configuration is global. So if you insert a dynamic field into phonecall-mask this field is in the template as well.

I tok instruction from 
http://doc.otrs.org/developer/3.1/en/html/how-to-extend.html#idp45649008 

Therefore i createed the following *.xml-file:
QuickTicket.xml
(/opt/otrs/Kernel/Config/Files)

<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="1.0" init="Application">
<CVS>$Id: Framework.xml,v 1.473.2.2 2012/06/18 18:28:51 mb Exp $</CVS>

<ConfigItem Name="Frontend::Module###AgentQuickTicket" Required="0" Valid="1">
<Description Translatable="1">Frontend module registration for the Quick-Ticket-Object in the agent interface.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::ModuleRegistration</SubGroup>
<Setting>
<FrontendModuleReg>
<Description>Some Ticket-Templates</Description>
<Title></Title>
<NavBarName>Quick-Tickets</NavBarName>
<NavBar>
<Description Translatable="1">Some Ticket-Templates</Description>
<Name Translatable="1">Quick-Tickets</Name>
<Link>Action=AgentQuickticket</Link>
<LinkOption></LinkOption>
<NavBar>Quick-Tickets</NavBar>
<Type>Menu</Type>
<Block>ItemArea</Block>
<AccessKey></AccessKey>
<Prio>15000</Prio>
</NavBar>
 <Loader>
 <JavaScript>Core.Agent.CustomerSearch.js</JavaScript>
 <JavaScript>Core.Agent.TicketAction.js</JavaScript>
 </Loader>

</FrontendModuleReg>
</Setting>
</ConfigItem>
</otrs_config>

Now i get another link into the menubar called "Quick-Tickets" and this should open a new Popup-window. In this new window you can choose an link (incident-category) and this link opens a prefilled mask to create the Quick-Ticket.

I achived the opening of a new Popup-Window by using a MenuModule but therefore i need a zoomed ticket.

Is there any way to open the new window by clicking a link in the MenuBar? (not clicking in MenuModuleBar).

Thanks for any hints.

kind regards

Sepp


_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.