When you log into tabr, or return to list.php without designating a group to view, it defaults to showing all unhidden entries. I would like for the script to display only contacts in a certain group... i.e. the group foobar.
How can i do it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When you log into tabr, or return to list.php without designating a group to view, it defaults to showing all unhidden entries. I would like for the script to display only contacts in a certain group... i.e. the group foobar.
How can i do it?
Change line 24 in list.php and replace the empty string with the group name.
if (!isset($_GET['group']) || $_GET['group'] == 'hidden' && !$_SESSION['user']->isAtLeast('admin'))
$_GET['group'] = '';