yes, I need to add a new tag with ticket number is the same as ##ticket.id##
<http://ticket.id#%23>  It is necessary for me to encrypt the ticket
number, so I need a new tag

2015-12-08 15:09 GMT+02:00 Luis Prada <luisfer...@gmail.com>:

> hi i'm wondering if is posible to send in the survey the user of glpi of
> that ticket or if is posible to enter to the survey without login? i have
> 2000 users and is very complicated to give them and user.
>
>
>
> 2015-12-08 8:31 GMT-04:30 Moron, Olivier <olivier.mo...@araymond.com>:
>
>> Hello,
>>
>> What I don’t understand is that this tag is already available:
>>
>>
>>
>> So ?
>>
>> Regards,
>>
>>
>>
>>
>>
>>
>> *Olivier MORON *GLPI Development
>>
>> *RAYNET SAS*
>> Tel : +33 476 33 4952
>> Fax: +33 4 76 70 56 63
>>
>>
>>
>>
>>
>> *From:* Glpi-dev [mailto:glpi-dev-boun...@gna.org] *On Behalf Of *Max
>> Safonov
>> *Sent:* Tuesday, December 08, 2015 1:54 PM
>> *To:* Liste de diffusion des developpeurs GLPI
>> *Subject:* Re: [Glpi-dev] add new tag
>>
>>
>>
>> my glpi version 0.83.7, She works steadily for many years
>>
>>  I added to notificationtargetticket.class.php
>>      // is ticket deleted
>>       $datas['##ticket.isdeleted##'] =
>> Dropdown::getYesNo($item->getField('is_deleted'));
>> //start
>> // Tickets status infos
>> $restrict = $data['tickets_id'];
>> $tickets = getAllDatasFromTable('glpi_tickets',$restrict);
>> $datas['tickets'] = array();
>> if (count($tickets)) {
>>         $ticket = new Ticket();
>> foreach ($tickets as $ticket) {
>>         $tmp = array();
>>         $datas['tickets'][] = $tmp;
>>         }
>> }
>> $datas['##ticket.number##'] = 0;
>> if (!empty($datas['tickets'])) {
>>         $datas['##ticket.number##'] = $datas['tickets_id']);
>> }
>> //finish
>>
>>
>> I need a new tag that would be the ticket number, thank you very much for
>> having responded
>>
>>
>>
>> 2015-12-08 14:40 GMT+02:00 Moron, Olivier <olivier.mo...@araymond.com>:
>>
>> Hello,
>>
>>
>>
>> Could you explain in details?
>>
>> And give your configuration?
>>
>> Thank you,
>>
>> Regards,
>>
>>
>>
>>
>>
>>
>> *Olivier MORON *GLPI Development
>>
>> *RAYNET SAS*
>> Tel : +33 476 33 4952
>> Fax: +33 4 76 70 56 63
>>
>>
>>
>>
>>
>> *From:* Glpi-dev [mailto:glpi-dev-boun...@gna.org] *On Behalf Of *Max
>> Safonov
>> *Sent:* Tuesday, December 08, 2015 1:23 PM
>> *To:* glpi-dev@gna.org
>> *Subject:* [Glpi-dev] add new tag
>>
>>
>>
>> Hello, I need help.
>>
>> I need to add a new tag with ticket number is the same as ##ticket.id##
>> <http://ticket.id#%23>
>> I tried to add on example notificationtargetticket.class.php
>> but does not work
>>
>> Please help with the problem.
>>
>> Sincerely,
>> Max Safonov
>>
>>
>> _______________________________________________
>> Glpi-dev mailing list
>> Glpi-dev@gna.org
>> https://mail.gna.org/listinfo/glpi-dev
>>
>>
>>
>> _______________________________________________
>> Glpi-dev mailing list
>> Glpi-dev@gna.org
>> https://mail.gna.org/listinfo/glpi-dev
>>
>
>
> _______________________________________________
> Glpi-dev mailing list
> Glpi-dev@gna.org
> https://mail.gna.org/listinfo/glpi-dev
>
_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev

Reply via email to