Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Admin: Page list display field not working

Started by Nico Petri 5 years ago · 1 replies · 698 views
5 years ago

Hello there,

i tried to define a list display title:

YAML
---
title: Imprint
cmsTitle: This is a cmsTitle
---

I set the the 'pages_list_display_field' option in the admin.yaml like:

TXT
pages_list_display_field: cmsTitle

also tried:

TXT
pages_list_display_field: header.cmsTitle

but always the usal title is displayed.

Thanks for answers in advance.

5 years ago

@npetri, Admin config field pages_list_display_field is a mystery to me...

It is referenced in a macro in Admin template /user/plugins/admin/themes/grav/templates/pages.html.twig but it looks like that template is never being called, or at least the macro in that template.

Maybe the page list is being generated in js, but I haven't found a reference to pages_list_display_field in js.

Maybe the devs can tell on https://github.com/getgrav/grav-plugin-admin

👍 1

Suggested topics

Topic Participants Replies Views Activity
Plugins · by DrPen, 1 month ago
2 478 1 month ago
Plugins · by renedebaaij, 2 months ago
1 350 1 month ago
Plugins · by Thomas, 1 month ago
1 375 1 month ago
Plugins · by complanar, 2 months ago
6 699 2 months ago
Plugins · by BenLaKnet, 2 months ago
1 642 2 months ago