[pages-module] Customising the tree builder and adding filters
Created 6 years ago by kiltedup

Evening,

Does anyone have any experience of customising the Pages tree in admin.

I would in an ideal world like to have to filter the tree on either a) page type OR by) by certain page content (in particular grids).

Also would like to add some extra segments to the the pages in the tree along side the segments that are already there.

I seem to be going round in circles working out the best way to do so just curious if anyone has been down this road before me?

Cheers

Dave

piterden  —  6 years ago

Filters not supported by the tree yet. Suggest you to read this namespace vendor/anomaly/streams-platform/src/Ui/Tree/

ryanthompson  —  6 years ago

You know.. I got close to doing something like this but the sense of it really breaks down. In my mind I was thinking of toggling (via preference value so it's per user/persistent) tree and table builder view. So you can easily search and what not. Cause as I got into it with the tree.. it didn't make sense. So anything you add would be custom / overrides via class binding.

I would suggest exploring what I was on to though. I might just add an example to the pages module and make it a thing 😄