getgrav / grav-plugin-admin

Grav Admin Plugin
http://getgrav.org
MIT License
355 stars 222 forks source link

Show pages that use the selected page as field type `pages` in frontmatter header #2374

Closed masetto closed 9 months ago

masetto commented 10 months ago

Hi There, I created a "pages" field type in the Blueprints:

              fields:
                .configuration:
                    type: pages
                    size: medium
                    classes: fancy
                    label: Element
                    start_route: '/configurations'
                    show_all: false
                    show_slug: true
                    show_modular: false
                    show_root: false

In frontmatter of the page markdown I have:

configurations:
    -
        configuration: /configurations/54006-5-aspo-svolgitore-10-t

In admin, when I edit "54006-5-aspo-svolgitore-10-t" page, I'd like to view all pages that have this page in "header.configuration" frontmatter.

Is it possible?

Thanks

rhukster commented 9 months ago

sadly there's no custom header searching capability in the admin