How do i Show only "Save CSV" button for admin ??
i know can disable that button on appgini.
thanks
Show only "Save CSV" button for admin
Re: Show only "Save CSV" button for admin
in the hooks folder, in your tablename.php, look for:
And add this:
Code: Select all
function tablename_init(&$options, $memberInfo, &$args) {
Code: Select all
if($memberInfo['group']='Admins'){
$options->AllowCSV=1;
$options->AllowPrinting=0;
$options->AllowFilters=0;
}