⚠ 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

set_subject() - not working for me....



aron2020
  • profile picture
  • Member

Posted 28 October 2015 - 16:33 PM

here is my very simple code where I added set_subject();
 
what is wrong here?
 
I am still seeing "Add Record",  "Edit Record"...  instead of the expected  "Add Listing", "Edit Listing"....
 
 
    function bam_listings()
    {
        $crud = new grocery_CRUD();
        $crud->set_table('listings');
        $crud->set_subject('Listing');
        $crud->set_theme('datatables');
 
        $output = $crud->render();
 
        $this->_example_output($output);
    }
 
 
using v 1.5.2
 

thanks