J
|
Jane 1/15/2007 |
Hi, |
J
|
JZint author 1/15/2007 |
I have tried that. I have my site set up with group permissions and user id's. I created a table on the add page of one of my forms just above the back to list link, copied and pasted the code in the appropriate space and built the site. When I log in with the admin information, the only thing in the drop down is back to menu. It is like I do not have permission to see any of the pages. I know that this function is working, because when I log in as guest or another person that I have given different permissions to, the main menu items change according to how I have them set up. |
![]() |
Alexey admin 1/16/2007 |
Hi, $strPerm = GetUserPermissions("Table1"); $smarty->assign("allow_Table1",!(strpos($strPerm, "A")===false && strpos($strPerm, "S")===false)); $strPerm = GetUserPermissions("Table2"); $smarty->assign("allow_Table2",!(strpos($strPerm, "A")===false && strpos($strPerm, "S")===false)); ... Then copy and paste it to all other php files where you added Quickjump control. $smarty->display(...); statement. |