⚠ 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

Grocery Crud Datagrid used in Ion Auth



php_lover
  • profile picture
  • Member

Posted 21 February 2013 - 05:41 AM

Hi sorry for my bad english i use ion auth for authentication with grocerry crud now i want to use grocery crud in ion auth for example i want to add user from datagrid not from create_user form how can i do this


davidoster
  • profile picture
  • Member

Posted 21 February 2013 - 09:04 AM

That's easy,

$this->config->load('ion_auth');
$this->tables  = $this->config->item('tables', 'ion_auth')
$this->grocery_crud->set_table($this->tables['users']);
$output = $this->grocery_crud->render();
$this->_main_output($output);

victor
  • profile picture
  • Member

Posted 21 February 2013 - 10:37 AM

try use search. there is a topic about your problem.
There are some problems : unique email and password hash, but there are solutions.
Sorry for my English.

php_lover
  • profile picture
  • Member

Posted 22 February 2013 - 10:47 AM

Thanks u both two tigers of grocery crud and inspiration for beginner like me