⚠ 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

Make Changes on the READ VIEW



skekeu

skekeu
  • profile picture
  • Member

Posted 19 April 2015 - 17:28 PM

Hey guys!

 

Just started with GC and I'm loving it.

But I need some help to solve a little problem.

 

I need to change things on my read view, like:

 

- Display a record as a link

- Change the empty fileds from blank data to something like " --- " 

 

I tried to use callback_read_field (so it would be easy to make the changes in the calbacks), but I get this error:

 

Fatal error: Call to undefined method Grocery_CRUD::callback_read_field()

 

So I'm assuming this method is not there ... Any help?

 

Thanks!

 

CST

 

 


skekeu

skekeu
  • profile picture
  • Member

Posted 21 April 2015 - 00:16 AM

Just got this working.

The solutuin is here: /topic/2525-callback-addedit-field-changes-the-display-on-the-read-method/