New ticket defaults in qu -- work on nav bar, but not button

Moderator: crythias

Locked
altjx
Znuny newbie
Posts: 56
Joined: 02 Sep 2010, 22:22
Znuny Version: None

New ticket defaults in qu -- work on nav bar, but not button

Post by altjx »

In the customer panel, I have my "Frontend::Customer::ModuleRegistration" set to:

Code: Select all

Action=CustomerTicketMessage;Subaction=StoreNew;Dest=5||IT+Help+Desk;Expand=1
When a customer goes to the navigation bar and clicks "New Ticket". By default, the "To" is set to "IT Help Desk", however... When they log on and if they don't have any tickets under "My tickets", there's a "Create your first ticket" button. When they click that and it brings them to the ticket form page, the "To" field is not automatically populated. I've looked in the same "Frontend::Customer::ModuleRegistration" and there doesn't seem to be another place to set it. When they click that button, it brings them to the "http://server/otrs/customer.pl?Action=C ... ketMessage" page instead of ""http://server/otrs/customer.pl?Action=C ... k;Expand=1"...

Any idea where I go to fix this?
OTRS 3.1.6
altjx
Znuny newbie
Posts: 56
Joined: 02 Sep 2010, 22:22
Znuny Version: None

Re: New ticket defaults in qu -- work on nav bar, but not bu

Post by altjx »

Well, just fixed this one on my own, lol.

Anyone else who's experiencing the same thing, I just went into the \OTRS\Kernel\Output\HTML\Standard folder and opened up the CustomerTicketOverview.dtl.
In there, there's a line that says:

Code: Select all

<a class="Button" href="$Env{"Baselink"}Action=CustomerTicketMessage">$Text{"Create your first ticket"}</a>
I just basically changed it to:

Code: Select all

<a class="Button" href="$Env{"Baselink"}Action=CustomerTicketMessage;Subaction=StoreNew;Dest=5||IT+Help+Desk;Expand=1">$Text{"Create your first ticket"}</a>
OTRS 3.1.6
Locked