Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Enable Panel redirects from backend hooks#298

When changing the slug or moving a page in a hook, the Panel gives an error as it currently does not get notified that the location has changed.

As discussed in Discord, the upcoming move to Intertia.js could possibly enable forwarding the Panel location from a backend hook?

For a description of a use case, also see https://forum.getkirby.com/t/redirect-to-new-page-in-panel/22418

3 years ago

Any news on this, now that 3.6 is released with Fiber? I found and tried Panel::go() in the docs, but couldn’t figure it out…

3 years ago

Possible via e.g.

Panel::go('pages/fields+info')

6 months ago
Changed the status to
Completed
6 months ago
Changed the status to
Unassigned
5 months ago

Does not work. Just throws a Redirect exception Panel.php:149 … ?

3 months ago