Jump to content


Pass extra data to view

addbutton extradata

  • Please log in to reply
1 reply to this topic

#1 abhishek

abhishek

    Member

  • Members
  • PipPip
  • 10 posts

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.

http://www.grocerycr...cery-crud-view/



#2 davidoster

davidoster

    Grocery CRUD Ninja

  • Advanced Member
  • PipPipPip
  • 1,068 posts
  • LocationAthens, Greece

Posted 09 May 2013 - 10:58 AM

$crud->set_subject('Project');


____________________________________________________________

 

rtfm_small.jpg---!!!Please read these guidelines before asking to the forums!!!---

____________________________________________________________

 

David Oster aka George Pasparakis,
http://odphotography.com
http://eletter.gr





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users