Now there is no "-" at the Type Selection.
 
But at Queue Selection there is still a "-" and i dont know how to delte it..There is no more Option like "PossibleNone"...
 
any Ideas!?
 
 
Thank You!
-----Ursprüngliche Nachricht-----
Von: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org]Im Auftrag von Buechling, Thomas
Gesendet: Montag, 17. September 2007 15:32
An: User questions and discussions about OTRS.org
Betreff: AW: [otrs] Standard Types and Queues

Hey!
 
i have now modified the code.. For those who don't knwo where to do that:
 
 
in the .dtl-File the phone-Ticket-Type is described as:

<td class="contentkey">$Text{"Type"}:</td>

<td class="contentvalue"> $Data{"TypeStrg"}</td>

 

This leads for example to Kernel\Modules\AgentTicketPhone.pm :

# build type string
    if ($Self->{ConfigObject}->Get('Ticket::Type')) {
        $Param{'TypeStrg'} = $Self->{LayoutObject}->BuildSelection(
            Data => $Param{Types},
            Name => 'TypeID',
            SelectedID => $Param{TypeID},
            PossibleNone => 1,
            Sort => 'AlphanumericValue',
            Translation => 0,
            OnChange => "document.compose.ExpandCustomerName.value='3'; document.compose.submit(); return false;",
        );
        $Self->{LayoutObject}->Block(
            Name => 'TicketType',
            Data => {%Param},
        );
    }

 

There  you have to change PossibleNone => 0,

 

-----Ursprüngliche Nachricht-----
Von: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org]Im Auftrag von Laurent Minost
Gesendet: Mittwoch, 12. September 2007 14:20
An: User questions and discussions about OTRS.org
Betreff: Re: [otrs] Standard Types and Queues

Hi,

I was having the same problem with Customer frontend, when creating a new ticket, default queue needs to be selected and we use only one...
Didn't find a solution so I modified source code for it to avoid adding "-" entry. Maybe it's the same for you.
If you find a solution or modify the code, I will be interested by your final resolution :)

Thanks.

BR,

Laurent MINOST


Le mercredi 12 septembre 2007 à 13:07 +0200, Buechling, Thomas a écrit :
Hallo!
i want to Speed up the Ticket Typing Procedure.. Most Tickets ( we mostly use Telephone Tickets ) have the same Type ( "Problem" ) and go the same Queue. But in OTRS the preselcetion for those Fileds is "-" and you have to Click on "Problem" and the right Queue.
Is there a way set Standard Values for those Fileds?
I cant find Anything in Sysconfig...
Thank You!
Freundliche Grüße 

i. A. Thomas Büchling
Praktikant / IT-Services
 
Tel  +49 (0)561/ 4991 -125
Fax +49 (0)561/ 4991 -93125
thomas_buechling@rudolph-log.de
http://www.rudolph-log.de
http://www.logeon.net
--------------------------------------
 Rudolph Logistik Gruppe
--------------------------------------
Rudolph Holding GmbH
Harzweg 10
D 34225 Baunatal

Amtsgericht Kassel HRB 6548
Geschäftsführer: Jürgen Rudolph, Werner Rudolph, Torsten Rudolph, Peter Malkomeß
-------------------------------------
Abonnieren Sie unseren Newsletter RudolphREPORT unter http://www.rudolph-log.de/aktuelles/aktuelles.cfm