Hi,
I have latest version 4.7.0, I downloaded the plainkit and I wonder why cant i change the template for any pages but home only. If I place a file called home.php in the templates form it will automatically load the template from there and override the one from default.php but this wont work for any other page, no matter what I do. I created a page named test from the control panel, then I placed a file called test.php in the template folder but nothing happens. Also, the button changed template is grayed out in the page edit section. Why?
Thank you.
You will have to create a blueprint for your new template, e.g. site/blueprints/pages/test.yml
. When you have created this, you will be able to select it when creating a new page in the plainkit.
Thank you, although it was enough just by renaming the file inside content/test from default.php to test.php
I guess you mean default.txt to test.txt. Yes, that’s how you can manually change the intended template of a page. But that’s not how you get the select dropdown to choose a template when creating a new page in the Panel.
Yes, my mistake. Thats good to know.
Thank you.