[SOLVED] Ticket Drop down missing

Moderator: crythias

Locked
spalli
Znuny newbie
Posts: 7
Joined: 22 May 2015, 10:15
Znuny Version: 3.2.2

[SOLVED] Ticket Drop down missing

Post by spalli »

Hi,

I am trying to make new ticket template for our OTRS.

I followed the blog post on OTRS Community Blog

http://blog.otrs.org/2010/11/02/otrs-3- ... nt-page-1/


and adding a new NavBar entry, didn't work, and now the "Ticket" Button (drop down), is missing :(


Anyone know why ?

Can someone post there config, might give me some insight

Thanks
Last edited by spalli on 22 May 2015, 17:44, edited 1 time in total.
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Ticket Drop down missing

Post by RStraub »

Probably broke the .xml due to missing tags / closing tags.

To know why, we'd have to analyze your .xml file.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
spalli
Znuny newbie
Posts: 7
Joined: 22 May 2015, 10:15
Znuny Version: 3.2.2

Re: Ticket Drop down missing

Post by spalli »

which xml file is this? I will post it
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Ticket Drop down missing

Post by RStraub »

Oh, you didn't extend the dropdown via .xml, but customized it via sysconfig. Misunderstood you there.

So what did you do? Change the Action link? Can you post that link?

Also please let us know what you want to achieve (prefilled body? preselected customer?).
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
spalli
Znuny newbie
Posts: 7
Joined: 22 May 2015, 10:15
Znuny Version: 3.2.2

Re: Ticket Drop down missing

Post by spalli »

I added another navbar entry under Frontend::Module###AgentTicketPhone , it didnt work so I removed it?
spalli
Znuny newbie
Posts: 7
Joined: 22 May 2015, 10:15
Znuny Version: 3.2.2

Re: Ticket Drop down missing

Post by spalli »

I just want to prefill, Queue, Owner , would also like to add Room Number, and a drop down to select room number.

But without the Ticket drop down, we cannot create tickets or go to another view?
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Ticket Drop down missing

Post by RStraub »

Well first, let's try to get your dropdown back:

1) Restore your SysConfig
2) Rebuild Config (~otrs/bin/otrs.RebuildConfig.pl)
3) Delete Cache (~otrs/bin/otrs.DeleteCache.pl)

Then it should reappear.

For your Room-Number Dropdown, create a dynamic field.

To prefill Queue and Owner, you have to edit the Action link, that is correct.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
spalli
Znuny newbie
Posts: 7
Joined: 22 May 2015, 10:15
Znuny Version: 3.2.2

Re: Ticket Drop down missing

Post by spalli »

ok so how do I restore the sysconfig? ok I may have to hold my hands up, i dont seem to have a backup :shock:
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Ticket Drop down missing

Post by RStraub »

Navigate to the entry you modified and click the small "circly arrow" for that entry.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
spalli
Znuny newbie
Posts: 7
Joined: 22 May 2015, 10:15
Znuny Version: 3.2.2

Re: Ticket Drop down missing

Post by spalli »

that entry I put in doesnt exist anymore I hit the circle with the line through it

but still I dont get the Ticket Button
spalli
Znuny newbie
Posts: 7
Joined: 22 May 2015, 10:15
Znuny Version: 3.2.2

Re: Ticket Drop down missing

Post by spalli »

ok I figured it out

I had deleted the key by accident it seems

I looked through the manual and found under TicketQueue, I had got rid of the Block "ItemArea" with Type Menu

so added this back in via sysconfig


'AccessKey' => 't',
'Block' => 'ItemArea',
'Description' => '',
'Link' => 'Action=AgentTicketQueue',
'LinkOption' => '',
'Name' => 'Tickets',
'NavBar' => 'Ticket',
'Prio' => '200',
'Type' => 'Menu'


and bang! its back! Whoot
Locked