$config['grocery_crud_default_language'] = 'english';
when I replace "english " with lang('var')
it doesn't work
can anyone help me please?
⚠ 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. ⚠
Posted 11 December 2012 - 11:59 AM
$config['grocery_crud_default_language'] = 'english';
Posted 11 December 2012 - 22:22 PM
Posted 12 December 2012 - 12:32 PM
$config['grocery_crud_default_language'] = 'lang(lang)';
Posted 12 December 2012 - 12:33 PM
Posted 12 December 2012 - 12:35 PM
$crud->fields('name','img_url','art_id');
$crud->field_type('art_id', 'hidden',$artid);
Posted 12 December 2012 - 12:37 PM
Posted 12 December 2012 - 12:40 PM
Posted 12 December 2012 - 12:45 PM
$crud->fields('name','img_url','art_id');
$crud->field_type('art_id', 'hidden',$artid);
Posted 12 December 2012 - 12:46 PM
Posted 12 December 2012 - 12:47 PM
Posted 12 December 2012 - 12:47 PM
Posted 12 December 2012 - 12:50 PM
Posted 12 December 2012 - 12:52 PM
Posted 12 December 2012 - 12:58 PM
Posted 12 December 2012 - 13:07 PM
Posted 12 December 2012 - 13:10 PM
$crud->set_table('art_files');
$crud->where("art_id = $artid");
$crud->columns('art_id','name','file_url');
$crud->fields('name','file_url','art_id');
$crud->change_field_type('art_id', 'hidden',$artid);
Posted 12 December 2012 - 13:12 PM
Posted 12 December 2012 - 13:15 PM
Posted 12 December 2012 - 13:16 PM
$crud->set_field_upload('file_url', 'assets/uploads/');
Posted 12 December 2012 - 13:16 PM