Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Ability to create the default page model#331

For controllers and templates, the default one can be overridden by a custom one.
This is not the case for page models, which could be useful to ensure site consistency.
See https://github.com/getkirby/ideas/issues/556

This can be solved using the provided solution plus a pageMethod for every model function to ensure the methods are available on any page object, but it feels a bit weird to write a model function by function

Edit: site/models/default.php is only loaded when the exact template name is default; not when default is a fallback template/model.

3 years ago
2
3 years ago
1
Changed the status to
Completed
3 months ago