Jump to content

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


Recommended Posts

Posted

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

Posted

From a glimpse into PageFrontEdit.js, I don't think there is, but it might be worth a feature request to let inlineSaveClickEvent fire a custom jquery event on completion.

  • Like 2
Posted

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.

  • 4 months later...
Posted
8 minutes ago, Juergen said:nhard

I am on vacation at the moment , I will take a look when I am back. :)

With the awareness of this information, your vacation is over :)

  • Like 3

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
  • Recently Browsing   0 members

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