Welcome Guest, Not a member yet? Register   Sign In
[Solved] Problem with ci4-adminlte
#5

(This post was last modified: 02-02-2021, 12:46 AM by chiabgigi.)

I think 'uModel' should work too, as it was stated:

public $uModel;
public function __construct()
{
helper('form');
$this->uModel = new UserModel();
}

In 'UserModel' I have:
class UserModel extends Model
{
protected $table = 'users';
protected $primaryKey = 'id';

protected $returnType = 'object';
protected $useSoftDeletes = true;

protected $allowedFields = ['uniId', 'fname', 'lname', 'uname', 'email', 'password', 'created_at', 'updated_at', 'status', 'profile_pic', 'activation_date'];


In the 'pastebin' file there is everything (unedited)

If the same code I insert it outside adminlte =>
-Controller: Home
-Routes:
$routes->get('/empview', 'Home::viewEmp');

it works

So, maybe I'm wrong, I think it's the code in Routes (the one that handles the 'breadcrumbs') that is giving problems.
Do you think you can get around the problem?
Reply


Messages In This Thread
[Solved] Problem with ci4-adminlte - by chiabgigi - 02-01-2021, 04:54 AM
RE: Problem with ci4-adminlte - by InsiteFX - 02-01-2021, 12:38 PM
RE: Problem with ci4-adminlte - by chiabgigi - 02-01-2021, 02:07 PM
RE: Problem with ci4-adminlte - by InsiteFX - 02-01-2021, 09:47 PM
RE: Problem with ci4-adminlte - by chiabgigi - 02-01-2021, 11:49 PM
RE: Problem with ci4-adminlte - by chiabgigi - 02-02-2021, 02:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB