Welcome Guest, Not a member yet? Register   Sign In
dx_auth - Not understanding how to use functionality in another controller
#1

[eluser]ownersbox[/eluser]
I just started using CI and dx_auth. I would like to include dx_auth login_form view with in a page I am building. I assumed I could do this from my own default controller:
Code:
$data['show_captcha'] = FALSE;
$loginView = $this->load->view('auth/login_form',$data,true);

Which is not working, by not working I mean: the page does not error, it simply does nothing when I put in my login credentials. I am assuming that it is not working because I'm skipping the auth/login controller. If I go to mydomain.com/auth/login it works correctly.

What is the proper way to use a library like dx_auth with new code I am writing? How do I correctly include that view from dx_auth with my other views on a single page? Any help is appreciated

MOD - Close thread please, I added it to the dx_auth thread




Theme © iAndrew 2016 - Forum software by © MyBB