Welcome Guest, Not a member yet? Register   Sign In
Community auth not working
#7

I think i am messing up with the library :/ i cant understand how to call the function from the controller, for example here is how i am loading the view:
Code:
$this->load->view('template/header', [
            'title' => 'Welcome',
            'auth'  => $this->is_logged_in()
        ]);
which is not working, shows error, again i tried like this because we autoload the library:

Code:
$this->load->view('template/header', [
            'title' => 'Welcome',
            'auth'  => $this->Authentication->is_logged_in()
        ]);
but all are showing "Call to undefined method ..."
please help
Reply


Messages In This Thread
Community auth not working - by rakibtg - 06-26-2015, 04:39 AM
RE: Community auth not working - by skunkbad - 06-26-2015, 07:24 AM
RE: Community auth not working - by rakibtg - 06-26-2015, 08:24 AM
RE: Community auth not working - by skunkbad - 06-26-2015, 01:38 PM
RE: Community auth not working - by rakibtg - 06-27-2015, 02:50 AM
RE: Community auth not working - by skunkbad - 06-27-2015, 11:29 AM
RE: Community auth not working - by rakibtg - 06-28-2015, 09:40 AM
RE: Community auth not working - by skunkbad - 06-28-2015, 10:01 AM
RE: Community auth not working - by vsuri - 08-08-2015, 12:18 AM
RE: Community auth not working - by skunkbad - 08-08-2015, 09:59 PM
RE: Community auth not working - by skunkbad - 08-09-2015, 08:51 AM
RE: Community auth not working - by skunkbad - 08-09-2015, 02:24 PM
RE: Community auth not working - by vsuri - 08-09-2015, 07:14 PM
RE: Community auth not working - by ethan sohail - 01-18-2016, 07:38 AM
RE: Community auth not working - by skunkbad - 01-18-2016, 08:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB