⚠ 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

Pass extra data to view



abhishek
  • profile picture
  • Member

Posted 09 May 2013 - 07:54 AM

Hi ,

I have listing of projects ,

 

In that i have used set_subject method.

 

$crud->set_subject('Projects');

 

and my Add button shows Add New Projects.

but i want the add button to display Add Project rather than Add Projects.

 

 

I even tried to use the code given in the link below but coudnt work out.

/topic/1065-how-to-pass-extra-data-on-a-grocery-crud-view/


davidoster
  • profile picture
  • Member

Posted 09 May 2013 - 10:58 AM

$crud->set_subject('Project');