… if I open one of the pages in the collection, and dump it (from the collection, not from page()), the content object is filled, and the title() shows correctly. But this only happens when I am visiting that particular page, and only for that particular page I am visiting.
Why would the pages in the collection content object be empty unless visiting the particular page. I am lost on that
My initial description seems to be accurate. Ajax loading of pages does not modify the behaviour.
If there is an http load of a page in the collection, the title() gets shown correctly for that particular page, and the dump of that page shows a correct [content] object.
In any other case pages in this collection return their slug when asked for title(), and their [content] object is empty on page dump
That is indeed strange and I can’t reproduce it. Could you provide some step by step instructions how to reproduce it in a Starterkit? Also, what Kirby version? Thank you!
It is the starterkit with some changes. Only one commit, deleting and adding some files and folders. Mostly page blueprints (artists and artist-item) and collections (mostly artists collection). Plus content.
I already see some weird behaviour on the panel, ‘artists’ page, the ‘artist-item’ titles switch from slug to title in the pages view: