Creating a link from a menu selection

English! place to talk about development, programming and coding
Post Reply
sdevine
Znuny newbie
Posts: 4
Joined: 09 Feb 2011, 23:04
Znuny Version: 3.0

Creating a link from a menu selection

Post by sdevine »

OTRS 3.0
I have been able to create a drop down menu item within the Ticket Menu. I would like this to link to a html page on the same server so:
<a href='/sample.html'>Sample</a> for example. I have not been able to see any workable way to do this. in the Link section regardless what I put in place it sends it to http://myserver/index.pl?sample.html.
I have been looking in the Development Docs for an Action parameter I could hand it but so far no luck. I guess I can edit the generated html files but that seems clunky.
Any ideas? I see a Test.pm in the Modules dir and so I thought maybe I could adopt that but when I try to call it ( Action=Test )- it says:
Module Kernel::Modules::Test not registered in Kernel/Config.pm!
Thanks in Advance.
sdevine
Znuny newbie
Posts: 4
Joined: 09 Feb 2011, 23:04
Znuny Version: 3.0

Re: Creating a link from a menu selection

Post by sdevine »

All right - going to answer my own question.
In Link Option I put : <a href='my_template_page.pl'>Templates</a>

And then in the Template page I made a link like so for every Queue I desired:
<a href='/index.pl?Action=AgentTicketPhone;Subaction=StoreNew;ExpandCustomerName=2;TypeID=2;Subject=XXX Issue;Dest=13||MY-Service;Body=XXX issue. There are multiple help documents - has the customer tried these yet?'>New XXX Incident</a> |
sdevine
Znuny newbie
Posts: 4
Joined: 09 Feb 2011, 23:04
Znuny Version: 3.0

Re: Creating a link from a menu selection

Post by sdevine »

Well I spoke too soon - this does not work when using IE. Works ok in Firefox and Safari. Any ideas why?
Post Reply