Hi, I cant select any other page except “default” when creatin a new page from panel. I can only do this with ftp. I checked blueprints too. it seems no problem. can anyone help?
You need to change the settings in site/blueprints/site.php.
title: Site pages: default fields: title: ...
Remove the line
still cant create box is unselectable still
Are there any other blueprints in /site/blueprints?
Ok, where do you want to create new pages, on the first level or within a subfolder? Check if the blueprint of the page you want to add to has set
first level. I want to crate a Projects page. But I cant. Looked projects.php and “pages:” not set “false”. it is empty.
Hm, this is strange. If you want to create a page on the first level, i.e. next to /about, /projects, /contact, etc., then you have to look into the site.php blueprint. In the original starterkit, it looks like this:
<?php if(!defined('KIRBY')) exit ?> title: Site pages: default fields: title: label: Title type: text author: label: Author type: text description: label: Description type: textarea keywords: label: Keywords type: tags copyright: label: Copyright type: textarea
Now you can do any of three things:
- completely remove the line
- set pages to true:
- or define some templates that may be used on the first level like this:
... pages: template: - projects - default - ... ...
pages: true worked. thanks a lot:)
this is my web site, maybe you want to look: avalibeyaz.com