Homepage is loading inside chronoform popup after login

mj_web 04 Apr, 2013
Hello,

I have set up a login form in popup box using chronoform. After i logged in, the page is loading inside the popup itself.

Anyone advice me to rectify this issue. I also have attached a screenshot.

regards
thoufiq
GreyHead 06 Apr, 2013
Hi thoufiq,

You can show the form without the template by adding &tmpl=component to the URL you call it with.

Bob
mj_web 06 Apr, 2013
Hello Bob,

Thanks for your quick reply. I had already added &tmpl=component in the form and it shows login fields only without the template in the popup when i click login menu but what my problem is

1) After i clicked login button, it redirects to index.php in the popup itself. And i want to close the popup after logged in and the page should redirects to index.php


thanks
thoufiq
GreyHead 07 Apr, 2013
Hi thoufiq,

I think we talked about this in the forums a month or two ago. If I remember correctly the answer was to link the popup closure code to the form submit button.

Bob
mj_web 13 Apr, 2013
Hello Greyhead,

I am very new to php and javascript.....so please help.

I just bring the CB login in pop up using chronoform..so i dont know where to use the onclick or onsubmit function. Can you please advice me on how to close the popup and redirect to index.php page after clicking login button.


thanks,
thoufiq
GreyHead 14 Apr, 2013
Hi thoufiq,

If I remember correctly, this has been answered before, I think that the answer was to attach the close method for the pop-up window to the submit button.

Bob
This topic is locked and no more replies can be posted.