Custom items in CustomerLogin.dtl

Hi, 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

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
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!

On Thu, 17 Aug 2006 16:15:24 +0200
Christian Schoepplein
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
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.
Thak's for example files. Selectboxes in my registration now working beautifully.
2] And if this is posible, is there a way to filter incoming emails from POP3 account according to this "custom field" ? e.g.
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.
This is not as trivial as I believe. I must look more deeply into Perl and educate myself. Thank's for point me to right files in OTRS. Vladimir Benc
participants (2)
-
Christian Schoepplein
-
Vladimír Benc