Jump to content

Is there a way to reload page after saving modal with new frontend capatibility in PW3?


Juergen
 Share

Recommended Posts

Hello @ all,

I use the new frontend editing of PW3 in some cases.

Now I need to reload the page after changes were made in the modal dialog, because some text appear on the page depending on the changes (a lot of if-conditions that show or hide text depending on that changes).

After saving the modal only the field which was edited changes. After I press the reload manually I can see all other changes on the page.

Is there a way to reload the page automatically after the save button in the modal is pressed?

Best regards

Jürgen

Link to comment
Share on other sites

A hook won't get you far, as frontend editing is done through Ajax calls and any redirect would just redirect the Ajax save request, not reload the whole page. The redirect has to happen in Javascript.

Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...