Hi Vladimir,

On Thu, Aug 17, 2006 at 03:51:03PM +0200, Vladimír Benc wrote:
>I've read the instructions on how to insert aditional items in
>registration of new user. Successfully added a two phone items.
>
>1]
>Now I want to insert a "Region" item, but I want to be a:
><select>
>       <option>X</option>
>       <option>Y</option>
></select>
>
>so users must select exactly one option, and that option of course
>insert to DB. But this doesn't work with the <option
>value="$QData{"somevar"}">X</option>. I've a look to another dtl's and
>the comboboxes is made by a $Data{"somevar"} construct, so the
>complete <select><option> must be saved in the 'somevar' right? But
>then where to declare my variable?

You have to change not only the dtl file but also the regarding frontend 
module to insert a select box. See for example the AgentTicketClose.dtl 
file and the frontend module

Kernel/Modules/AgentTicketClose.pm

Especialy the block with the different states to set might be nteresting 
for you.

>2]
>And if this is posible, is there a way to filter incoming emails from
>POP3 account according to this "custom field" ? e.g.
>if a user have a region named 'X', then sort this ticket to queue named
>'Region X' ?

This is only possible with a special PostMasterFilter created for this 
needs. See the files in

Kernel/System/PostMaster/Filter

for some example filter modules.

>Vladimir Benc

Regards,

  Christian

-- 
((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing
  Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769
    http://www.otrs.com/ :: Communication with success!

Attachment: signature.asc
Description: Digital signature

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support orr consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to