RE: [otrs] customising agent view

I think I might have worked it out. There is already some perl which dynamically creates the compose answer drop down depending on the queue but the options are not stored in the database. If this script could interrogate a table in the database and display a range of fields depending on the queue name, that would be sufficient. The question is what and where is the perl code for the compose answer? Thanks Philippa -----Original Message----- From: Mike Witkowski [mailto:witkowsk@pop900.gsfc.nasa.gov] Sent: 05 November 2003 12:58 To: User questions and discussions about OTRS. Subject: Re: [otrs] customising agent view I think that this is more of an html/javascript question But we've had the same issue. Take a look at the following URL: http://www.mattkruse.com/javascript/dynamicoptionlist http://www.mattkruse.com/javascript/dynamicoptionlist When incorporating the javascript into your dtl files, the function definitions need to go before you build the dynamic selection list (obviously) and the initialization call must come after the selection list is defined. The time consuming part is to get everything into tables in the database and process it appropriately so that the list is truly dynamic. Well not even that, just kind of boring. I hope this gets you started! Michael Witkowski Strange, PJ (Philippa) wrote: Hi Is it possible and can someone tell me how I do the following? I need a sub category in each queue which can take the form of a drop down list, dynamically constructed depending on the queue. All this sub category is used for really is reporting and I tried initially creating sub-queues but this proved unfeasable. Has anyone else done anything like this?? or could someone send me the perl needed to implement?? I assume I need to add an extra field in the database but that won't be a problem. Thanks ever so much, in advance Philippa Strange _____ _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/ http://www.otrs.de/

Hi Philippa, On Wed, Nov 05, 2003 at 03:06:51PM -0000, Strange, PJ (Philippa) wrote:
I think I might have worked it out.
There is already some perl which dynamically creates the compose answer drop down depending on the queue but the options are not stored in the database. If this script could interrogate a table in the database and display a range of fields depending on the queue name, that would be sufficient.
It's stored in the database (table queue_standard_response). .-)
The question is what and where is the perl code for the compose answer?
Kernel/System/Queue.pm -> GetStdResponses()
Philippa
Martin -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
participants (2)
-
Martin Edenhofer
-
Strange, PJ (Philippa)