joe_g Posted Thursday at 11:39 AM Posted Thursday at 11:39 AM 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
elabx Posted Thursday at 02:49 PM Posted Thursday at 02:49 PM 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 } });
bernhard Posted Thursday at 04:25 PM Posted Thursday at 04:25 PM You can check out this module: https://processwire.com/modules/breadcrumb-dropdowns/ 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now