-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Dirk,

> So I updated the AgentTicketClose.dtl file like this:
> 
>                 <tr>
> 
>                   <td colspan="2" class="contentkey">Variable 1:</td>
> 
>                   <td class="contentvalue"><input type="text"
> name="Variable 1" size="3"></td>
> 
>                 </tr>
> 
> Now I must handle these Variable 1.
> 
> When the button “close”  is pressed, these variable should be saved into
> my Database into an extra table with the ticket id.
> 

basically there are three steps of implementation:

(1) you need a core module e.g. Kernel::System::SpecialTable :) for
accessing the new db-table, this object need to be instantiated in the
module which is used by the close-form.

(2) furthermore you need a modified Kernel::Module::AgentTicketClose
(I'd recommend to write a new one and disable the original module via
the sysconfig). In this module you access your form fields an pass them
to the Kernel::System::SpecialTable-object which writes them to the db.

(3) the frontend (dtl) needs to be extended - this is the part you've
already done :)

This should be enough for writing these values. But there might be
desires to read (or even modify) them. To do this you need to extend the
corresponding frontend module and it's dtls - or create a new one.


regards, Torsten Thau

- --
Torsten Thau, Dipl. Inform.
c.a.p.e. IT Labs GbR - Annaberger Str. 240 - D-09125 Chemnitz
phone: +49 371 5347 623
cell: +49 176 66 680 680
personal pgp-key: 0x93E0A174
fax: +49 371 5347 625
http://www.cape-it.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHil8avXo8m5PgoXQRAnu6AJ9dX52AkAdwWVKEoqeH+DmUGlTvwQCeInd9
eEQv1N4qIzAsVxDCef5eq38=
=+wdQ
-----END PGP SIGNATURE-----
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to