Add ticket menumodule item with external link
Moderator: crythias
-
- Znuny newbie
- Posts: 10
- Joined: 13 Oct 2015, 20:14
- Znuny Version: 5.0.9
- Real Name: Tony Brandner
Add ticket menumodule item with external link
Followed the instructions here:
https://otrs.github.io/doc/manual/devel ... enu-module
Adjusted the Sysconfig for my new menu item:
"Edit Config Settings in Ticket -> Frontend::Agent::Ticket::MenuModule"
How do I make the menu item point to an external link?
I have the Link value set to http://example.com, but it still prepends our OTRS URL.
Does anyone know how to accomplish this, or know where I can find more documentation about the Ticket:MenuModule options (Link, LinkOptions, Target, etc)?
Tony
https://otrs.github.io/doc/manual/devel ... enu-module
Adjusted the Sysconfig for my new menu item:
"Edit Config Settings in Ticket -> Frontend::Agent::Ticket::MenuModule"
How do I make the menu item point to an external link?
I have the Link value set to http://example.com, but it still prepends our OTRS URL.
Does anyone know how to accomplish this, or know where I can find more documentation about the Ticket:MenuModule options (Link, LinkOptions, Target, etc)?
Tony
-
- Znuny newbie
- Posts: 10
- Joined: 13 Oct 2015, 20:14
- Znuny Version: 5.0.9
- Real Name: Tony Brandner
Re: Add ticket menumodule item with external link
Managed to get close, a bit cumbersome.
I'm using the LinkParam value to run JavaScript to adjust the URL, setting it to a value like:
One issue with this solution is that there is no good way to pass a parameter, such as TicketID.
If I set the Link to a value like:
Then I can use more advanced Javascript to pull it from the resulting href. Not very clean.
I'm using the LinkParam value to run JavaScript to adjust the URL, setting it to a value like:
Code: Select all
onclick="this.href='http://example.com'; return true;"
If I set the Link to a value like:
Code: Select all
myTicketID=[% Data.TicketID | html %]
-
- 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: Add ticket menumodule item with external link
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 newbie
- Posts: 2
- Joined: 17 Mar 2016, 10:46
- Znuny Version: 5.0.6
- Real Name: Nagy Laci
- Company: Bazdmeg Kft.
Re: Add ticket menumodule item with external link
Dear reneeb!
I also want to add ticket menu module item with external link. I installed this addon successfully: http://opar.perl-services.de/dist/ToolB ... Link-5.0.1
Unfortunately, I don't see this link on the ticket menu. In addition to this, I didn't find it in the sysconfig. I use OTRS version 5.0.6.
Can you help me?
Thank you!
-
- 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: Add ticket menumodule item with external link
To configure the external link a new group was added to SysConfig. That group is called "TicketMenuExternalLink". In the Subgroup "TicketLink" you'll see what you need to configure...
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 newbie
- Posts: 2
- Joined: 17 Mar 2016, 10:46
- Znuny Version: 5.0.6
- Real Name: Nagy Laci
- Company: Bazdmeg Kft.
Re: Add ticket menumodule item with external link
I didn't find group called "TicketMenuExternalLink' in the SysConfig.reneeb wrote:To configure the external link a new group was added to SysConfig. That group is called "TicketMenuExternalLink". In the Subgroup "TicketLink" you'll see what you need to configure...
-
- Znuny newbie
- Posts: 9
- Joined: 22 Apr 2016, 08:10
- Znuny Version: OTRS 5.0.9
- Real Name: Nikolay
Re: Add ticket menumodule item with external link
I use OTRS 5.0.9 install this addon and it doesn't work...
I enable Frontend::ToolBarModule###4-ExternalURL but icon doesn't display...
I enable Frontend::ToolBarModule###4-ExternalURL but icon doesn't display...
-
- 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: Add ticket menumodule item with external link
Then check if there are any messages for the addon in the package manager... Are there any messages in the log files?kw3v865 wrote:I didn't find group called "TicketMenuExternalLink' in the SysConfig.reneeb wrote:To configure the external link a new group was added to SysConfig. That group is called "TicketMenuExternalLink". In the Subgroup "TicketLink" you'll see what you need to configure...
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 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: Add ticket menumodule item with external link
That's a different module. It seems that this version of the addon has a bug. I will look at it today...redgodzilla wrote:I use OTRS 5.0.9 install this addon and it doesn't work...
I enable Frontend::ToolBarModule###4-ExternalURL but icon doesn't display...
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