hey gijoe,
i have successfully added your ticket to a xoops_confirm.
its good when you have a confirm message, for deleting entries for example, here is what i have done:
you have to add a function to you gtickets.php
Quote:
// get only the form value back for example its good for using it in a xoops_confirm -> Done by PD Coding Team
function getTicketHTMLValue ( $salt = '' , $timeout = 1800 , $area = '' )
{
return $this->issue( $salt , $timeout , $area ) ;
}
then you can make a xoops_confirm message like this:
Quote:
xoops_confirm(array('XOOPS_G_TICKET' => $xoopsGTicket->getTicketHTMLValue(__LINE__ , 1800 , '(your area name)')), 'index.php', _AM_PDD_FILE_REALLYDELETEDTHIS . "message", _DELETE, false);