There is a way to hide table view for a group but that doesn't let the user to view the record if he presses back or goes to home screen.
That method is putting this in hooks/tablename.php for the init function as the below code block
Wanted_Group is the group we target
tablename is the table we hide
Code: Select all
function tablename_init(&$options, $memberInfo, &$args) {
if ($memberInfo['group'] == 'Wanted_Group')
{
$options->AllowCSV = 0;
$options->RecordsPerPage = 1;
$options->HideTableView = 1;
}
return TRUE;
}
How can we do it?