Welcome Guest, Not a member yet? Register   Sign In
Is there a simple way to just add the login form to any of my pages using freakauth?
#1

[eluser]ceej[/eluser]
Hi there,

Is there a simple way to just add the login form to any of my pages using freakauth without it ad all the freakauth templates etc.......?

Many thanks
#2

[eluser]Grahack[/eluser]
Hi,
in what template of FAL would you like to see the login form ?

Have a look at displayLoginForm() in the FAL helper.

Do you have a dedicated view that is "included" in your pages, like a header, a footer, or a menu-in-the-left-column ?
#3

[eluser]Unknown[/eluser]
Hi there,

Sorry if the question has already been asked previously. I'm new in the forum.

I have the same problem as ceej did. I did the suggestion to use displayLoginForm(). However, there are more than 1 form in my page while the login form action is posted using:

<?=form_open($this->uri->uri_string(), array('id' => 'login_form'))?>

The other form action also using the same method

<?=form_open($this->uri->uri_string(), array('id' => 'register_form'))?>

I intend to have a login form in the registration page, so it will be like:
"ALREADY A MEMBER?" and the login form is displayed below the text.

However, both forms seems to be submitted and and the login data is not posted since there is no login validation controller in registration controller.

I am using Freak Auth 1.1 to manage the registration and the login processes. Is there anyway to solve this problem? I really need help since this a bit urgent. Thanks a lot.




Theme © iAndrew 2016 - Forum software by © MyBB