PEAK XOOPS - Re: how to implement gticket2 in englishin japanese

Re: how to implement gticket2

List posts in the topic

question Re: how to implement gticket2

msg# 1.1.2.1.1
depth:
4
Previous post - Next post | Parent - Children.1 | Posted on 2006/5/18 6:45
krobi  上等兵 From: Austria  Posts: 38
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);
Votes:12 Average:5.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!