⚠ 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

how i can to show a custom field only in the details view?



frsanchez
  • profile picture
  • Member

Posted 24 November 2015 - 23:19 PM

i need to show a custo field in the details view.

when i write

$crud->fields('custom_field');

'cutom_field is added to the details view, the add view and edit view' and i need that be only added to the detail view, sorry for my english

 


Paul Savostin
  • profile picture
  • Member

Posted 26 November 2015 - 16:53 PM

version 1.5 and above u have new methods - set_read_fields,unset_read_fields

prove link https://github.com/scoumbourdis/grocery-crud/blob/master/change_log.txt


frsanchez
  • profile picture
  • Member

Posted 27 November 2015 - 07:07 AM

version 1.5 and above u have new methods - set_read_fields,unset_read_fields

prove link https://github.com/scoumbourdis/grocery-crud/blob/master/change_log.txt

thank you very much for your answer, http://www.grocerycrud.com/documentation/options_functions needs to be updated


Paul Savostin
  • profile picture
  • Member

Posted 27 November 2015 - 13:31 PM

No problem:)