C
|
cgphp 1/11/2012 |
Remove the old where clause from the "Before SQL query" event: $strWhereClause = whereAdd("day(giorno_app) ='".$_SESSION['day']."'",$strWhereClause);
if( ! isset($_SESSION['step_date']))
$xt->assign("step_date",'You are filtering by: '.$_SESSION['step_date']);
$_SESSION['step_date'] = date('Y-m-d',strtotime('+1 day', strtotime($_SESSION['step_date'])));
location.href = 'appuntamenti_list.php';
$_SESSION['step_date'] = date('Y-m-d',strtotime('-1 day', strtotime($_SESSION['step_date'])));
location.href = 'appuntamenti_list.php';
{$step_date} |
T
|
technoserv author 1/12/2012 |
Hi Cristian. |
C
|
cgphp 1/12/2012 |
In the "Before process" event of the search page enter the following code: unset($_SESSION['step_date']); |
T
|
technoserv author 1/12/2012 |
It does not work. |
C
|
cgphp 1/12/2012 |
Remove the unset code from the "Before process" event of the Search page and enter the following code in the "Before SQL query" of list page: if( ! isset($_SESSION['step_date'])) |
T
|
technoserv author 1/12/2012 |
Cristian I infinitely thank you. |
T
|
technoserv author 1/13/2012 |
Cristian |
C
|
cgphp 1/13/2012 |
Remove any code from the "Client before" section of the buttons. |
T
|
technoserv author 1/13/2012 |
Good Morning Cristian, |