Closed micshi closed 11 years ago
Hi Micshi,
this is not possible at the moment.
An additional java script file is needed. Do you have skills to implement this? If yes, just push it via git.
Thanks,
-Martin
No, I have no any skill in java script.
Thanks,
micshi
Hi Micshi,
there was also an easier way. It's implemented in version 1.0.4 now https://github.com/downloads/znuny/Znuny4OTRS-ExternalURLJump/Znuny4OTRS-ExternalURLJump-1.0.4.opm
Unfortunately it's only working in agent interface, in customer interface there is a missing attribute in Kernel/Output/HTML/Standard/CustomerNavigationBar.dtl, you need to add the following to the <a href=""> tag:
<a href="$Env{"Baselink"}$Data{"Link"}" accesskey="$QData{"AccessKey"}" title="$Text{"$Data{"Name"}"} ($QData{"AccessKey"})">
to
<a href="$Env{"Baselink"}$Data{"Link"}" accesskey="$QData{"AccessKey"}" title="$Text{"$Data{"Name"}"} ($QData{"AccessKey"})" $Data{"LinkOption"}>
Then it's also working in customer interface (the attribute is supported by OTRS config mechanism, but the attribute got lost in the .dtl file).
Enjoy,
-Martin
Hi Martin,
The new version 1.0.4 works perfect as you described and I noticed that you added a new configuration option "Target=_blank" to LinkOption in the xml file.
Thanks, micshi
Thanks for feedback!
Yes, exactly. This was the magic https://github.com/znuny/Znuny4OTRS-ExternalURLJump/commit/78bcd5c6d106213a7350cdd17bd27eead33515bb
Enjoy!
-Martin
PS: Are you from germany?
I am from China.
micshi
Cool. Where from china?
PS: Where did you find this extension?
From Beijing, China.
I got to know Znunny via the following post http://forums.otterhub.org/viewtopic.php?f=53&t=16996.
I also know you are greate guy, the creator of OTRS.
micshi
Thanks for feedback. I hope you will enjoy the Znuny-Addons.
-Martin
I have a question.
How open the external URL link in a new blank window?
Thanks.