
Hi Sarper,
The file you're looking for is /opt/otrs/Kernel/Output/HTML/Standard/CustomerTicketMessage.dtl (the /opt/otrs part may differ in your installation).
The section you want is:
<tr>
<td width="15%" class="contentkey">$Text{"To"}:</td>
<td width="85%" class="contentvalue">
$Data{"ToStrg"}
<font color="red" size="-2">$Text{"$Data{"Queue invalid"}"}</font>
</td>
</tr>
...which is on line 79 on my copy.
It's the $Data{"ToStrg"} that you want to change. Have a look at View Source from your browser to see what that variable produces and modify it to suit what you need. You basically want either a combo box with only one value in it, or you want to remove it altogether and replace it with a hidden form variable.
Let me know if this is unclear and I may be able to assist further.
This modification is independant of any other fields on the page, which will work as normal.
Kind Regards,
James.
________________________________
From: otrs-bounces@otrs.org on behalf of Sarper SARIDAL
Sent: Tue 27/10/2009 6:43 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Customer ticket screen [Urgent]
Hi James,
Can you please point me to which file to edit.
and / or send me the code for it.
I don't want other queues (TO) field to be selected by customers but while doing that :
i don't want to change the queue types from users to admin so they don't see it. That's not what i want.
I just want to force them to have one option by default in the TO field and your way of solving seems to be the only way.
Thanks & Regards,
Sarper
On Tue, Oct 27, 2009 at 12:27 AM, James Morgan