I have a simple block that displays the login and register links for anonymous users and the username with a logout link for logged in users. When I click on login, the modal form works great. However, when the modal closes, the page is not refreshed so it is difficult to tell if the user actually logged in or not. What I would like to do is have the page refresh upon successful login, or even better just the one block so it will show "Welcome, User (logout)" instead of the Login / Register links after the modal closes.

Anyone have any ideas how this can be achieved?


bancarddata’s picture

Status: Active » Closed (works as designed)

Strange it seems to be refreshing the page now. Not sure why it wasn't before.

aalireza’s picture

Version: 7.x-1.0 » 7.x-1.x-dev

i am using 7.x-1.x-dev version and have same problem,
reload not working after login.

GlennVl’s picture

Issue summary: View changes

I have the same problem, any solutions for this already?

JieXiannn’s picture

I have this problem too. It works fine locally but not when I've uploaded it to my hosting service

petednz’s picture

Status: Closed (works as designed) » Active

At the risk of being told not to reopen this, others are saying 'this isn't happening'. Here is my scenario. I have a View, and provide a link on that view which uses Modal Forms to load up a webform with eg ?cid=23 based on data in that row of the view. The webform pop up works beautifully and am really pleased i tried out this module.

My 'hope' would be that after saving/closing the form, somehow the view display (page) would have refreshed so that the new data just added via the webform would show on my table.

Any thoughts or is this just a 'you got to be kidding'

(Edit: I realise my request is not related to 'login' but i thought this might be a more generic 'how to make the page reload after using modal form' ticket

chetan-singhal’s picture