hi, i am trying to call different pages according to the group id entered, for instead i have operator and communication groups and they have different home pages so i have something like this on the home.php file but its not working:
if($_SESSION['memberGroupID'] = 4 ){
include("operators.php");
}elseif($_SESSION['memberGroupID'] = 5){
include("communications.php");
}else{
include("homepage.php");
}
please assist me!
calling different pages
Re: calling different pages
Try adding your code to the login_ok function in _global.php in the hooks folder instead of home.php
http://bigprof.com/appgini/help/advance ... s#login_ok
http://bigprof.com/appgini/help/advance ... s#login_ok