Closed petephm closed 10 years ago
That happens when you only got one blueprint or you restrict the usable blueprints for subpages.
@peterph-am I think I had the same issue initially, I couldn't choose a template at the top ("Site") level. Then I noticed in the Starterkit the site.php blueprint contains "pages: default" so you can only create the default content type, which a "Page". If your issue is the same, change it to "pages: true" and you'll be able to create any content under "Site".
Oh, now I get it. In case of the starterkit it makes sense to limit new subpages to the default blueprint, but I understand that this might be confusing for beginners. Any suggestions how to make it clearer?
Perhaps you could add another blueprint, perhaps a simple blog, so in site.php we would have
pages
:template:
- default
- blogpost
(Can't indent in comments it seems) It would show that we can decide what appears, even at the Site level.
Oh okay, yes changing pages: default to true did the trick. Yeah I agree with @malvese having another template option in the site blueprint would help make this clearer.
Alternatively, it could be useful if the admin panel just had a little warning when you click the lock with a reasoning for it. Deducing that this was the problem from a unclickable lock was probably the hardest part. I actually thought it was a fundamental kirby change and was glad to find this thread.
Maybe just write a note in the docs for the installation of the starterkit about this issue.
Had the same issue and I second @hyperperforator's suggestion. The lock icon isn't really self-explanatory in this context, so adding a message would definitely help.
Took me awhile to figure this out. Looked through all my blueprints, restarted my server, and a bunch of other things before googling and finding this.
I have created an issue at getkirby/starterkit#59.
I can't seem to be able to select the templates I want to use when creating a new page in the panel?