Sorry, we don't support your browser.  Install a modern browser

Reusable resources like pages without URL#525

While building my first site Kirby I stumbled over the issue that you cannot add any reusable resource without adding a specific resource URL.
I like the way to organize data structures in page blueprints and i also like the flexibility I have to build complex field structures. But when it comes to global, reusable resources that should not have a specific URL (maybe contact cards, events, tickets, external links, …) I felt limited to the site.yml with tabs solution. This does not scale very well in my opinion.

I started a thread and found another similar topic in the forum already:
Blueprints for pages without URL possible?
Disable public URL for pages

The solution seems to be, to use page blueprints and then hide them programatically.

Also when thinking about headless setups resources can have different routes dependent on the application they get rendered by (Website, App, …).

Since I am fairly new to Kirby maybe i am missing something.

My feature request would be: I would like to have Resource Blueprints similar to pages but without the need to add URLs. These Blueprints could also be used then to have sections in the panel working like the site.yml, administrate pages (Page Blueprint) or other resources (Resource Blueprint).

Similar solutions I found in the field: In Craft CMS, Entries (pages) have a public URL when you add the specific URL definition (e.g. /person/:person-name) to the Entry definition (Blueprint).

a year ago
5

I just found this suggestion. Maybe this is related? https://kirby.nolt.io/132

a year ago

@holmey I don’t think so, the other idea refers specifically to the blocks field while I think your suggestion is more about a module/entry/entity similar to a page but without URL.

a year ago
1