[eluser]cyberbobjr[/eluser]
Hi,
[quote author="rip_pit" date="1263274930"]hi guys, first, thanks for the good work and helpful topic.
Working with tank auth, even if it works fine "out of the box" I would need some advices to go further.
I'm trying (without success) to insert tank_auth's parts into another page.
It's to say, I would want to insert (like with an include) the login_form part from tank auth into my own page (instead of having to load the auth/login existing page).
Does any of you have any clues about what's the best way to do it ?
instead of
Code:
if (!$this->tank_auth->is_logged_in())
redirect('/auth/login/');
i would want something like
Code:
if (!$this->tank_auth->is_logged_in())
//show the login form from tank auth (like with include('login_form');
//in order the user could log in from the first page, not only from auth/login
Hope someone could help coz i'm having a bad time trying to do it alone. thanx for reading [/quote]
I've exactly the same question, please someone can explain us how to do that ?
Thanks you so much !
Best regards