Jump to content

link to parent in backend leads to list overview instead of actual parent


Recommended Posts

Posted

Hey hello,

Is it possible to get this link to the parent to lead to the actual parent instead of going to the overview?

The thing is the overview contains thousands of pages, and it shows the first 30 or so in the tree-view, so you loose track of wher you are. 

If there is a way to get this link to open up the actual edit page of the parent event instead that would be amazing

tx,
J

image.thumb.png.cb520599ead6f0039474c2625e8a4ed5.png

Posted

Maybe hooking into ProcesPageEdit and edit there the breadcrumbs? Seems like ProcessPageEdit has the breadcrumbs as a property. 

$wire->addHookBefore("ProcessPageEdit::execute", function($e){
   $found =  $e->object->breadcrumbs->findOne("title=Some title");
   if ($found) { // update it }
});

 

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...