I have displayed the login form in Dropdown at the navigation bar like Twitter website. by using the twitter bootstarp. i struggled with that for getting the form in dropdown. Now i got the form and the Ajax validations are working like charming. But when i click on submit it does nothing.
I have displayed the form in index page If so i have add the verification code in actionIndex()…
Where i have to catch this submit and how to trigger the action.
and i have tested with some basic link in that same dropdown. When i mouse over it its shows the target link if i click on that link it nothing happens.
Take a look to the actions, you have chosen: site/signin
You told that you modified the code of the actionIndex(), but that can’t work.
In your SiteController, there has to be a function with the name actionSignin. In this function, you have to write the code of the actionIndex.
The same thing in the links of the div "social".
This link for example, use the function actionSociallogin in the SiteController. If the function doesn’t exist, you won’t get a feedback from the page.
Just a hint for the future, maybe you can use the plugin FireBug for Firefox. If an action doesn’t exist and you try to call it, firebug shows you an error.
Then, test the website and take a look, if there is a key ‘LoginForm’ in the $_POST-array. If not, you have the reason. Maybe you can insert this result here.
Another question: Why do you create a LoginForm-Model in the view? You could create it in the actionIndex, unset the Attributes and write it to the view with the render-function.