(I couldn’t find a proper answer in the forum, so I just ask.)
For a little event website I want to build with Kirby, I plan to have quite a number of different content types (= page templates), e.g. rooms, speakers, talk details (e.g. abstracts), talk schedules, topic categories, etc. All of those things are interconnected. For example, a talk can be held several times (= several linked talk schedules) and can have one or more speakers. The respective room, in turn, may not be directly linked to the talk, but must be linked to the talk schedule. (Because, for organizational reasons, a talk may be held twice, but not necessarily twice in the same room).
Having different page templates for all of these content types has the nice effect that I automatically have separate pages for each room, speaker, topic category, etc. – which I can use to display cumulated information in the frontend (e.g. all talks held by a certain speaker).
All these connections can be achieved with pages select fields in the panel. This is simple. But is there a way to at least see such connections in the panel when editing the linked page, too? Example: On page A there is a pages select field with page B selected. On page B (in the panel) this connection is not visible in any way by default.
Since I don’t want to fuss around with bidirectional editable connections using hooks, displaying “incoming” connections in the panel view of a certain page and being able to click on these connections to open the linking page would be totally enough.
Now my noob question: What’s the best way to achieve displaying these “incoming” connections?
- Using a pages select field with the “disabled” option and a proper “query” property?
- Or writing a little panel plugin that displays all pages with their panel links, based on a proper query?
- Or is there some solution out there already wich I missed?