⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

issue with the unsets



mbmtnez

mbmtnez
  • profile picture
  • Member

Posted 13 July 2017 - 16:23 PM

Hi I have some troubles with the unset, when I unset all (add, edit, delete), except the read, I can´t see the header "Actions", bt when I do the same but with other action that doesn´t happend. I do not know if this is a bug or an error in my GC. Please help. Thanks in advance.

 

the image of the exmple you can see it this: https://ibb.co/kcK7Hv

 

 


mbmtnez

mbmtnez
  • profile picture
  • Member

Posted 13 July 2017 - 17:23 PM

I solve the problem

 

in assets\grocery_crud\themes\flexigrid\views\list.php

in the line 15 I had 

<?php if(!$unset_delete || !$unset_edit || !empty($actions)){?>

and I put

<?php if(!$unset_read || !$unset_delete || !$unset_edit || !empty($actions)){?>

and works OK


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 14 July 2017 - 05:01 AM

Good Job..!!