C
|
cgphp 8/2/2011 |
global $conn; |
I
|
imthebest author 8/3/2011 |
Thanks Cristian. This is working. |
![]() |
Sergey Kornilov admin 8/3/2011 |
Session variables should work exactly the same way here. If you need more help contact support directly providing a copy of your files and databases for investigation. |
T
|
techster 8/26/2011 |
Thanks Cristian. This is working. But when I try to use Session variable for then the same does not work. I populated $_SESSION["GroupID"] during "After Successful login" event. Then used the same in list page for "Before Display" event - $xt->assign("orgid_fieldheadercolumn", $_SESSION["GroupID"] == -1); $xt->assign("orgid_fieldcolumn",$_SESSION["GroupID"] == -1); The above is hiding the field from all users including Admin user. I also tried to use userid (populated during "After successful login" event), but that is also hiding the blick from all users including admin. $xt->assign("orgid_fieldheadercolumn", $_SESSION["UserID"] == "admin"); $xt->assign("orgid_fieldcolumn",$_SESSION["UserID"] == "admin"); Do session variables not work here? Or I am missing something. Please advice. Thanks in advance.
|
C
|
cgphp 8/26/2011 |
Please, provide the code of the "After successful login" event. |