I still have a problem with defining a blueprint in my plugin. When creating a new page in the panel, my page blueprint doesn’t appear in the dropdown list.
I did this in the index.php:
'blueprints' => [ 'pages/podcasterfeed' => __DIR__ . '/blueprints/pages/podcasterfeed.yml' ]
blueprints/pages/ there is the
podcasterfeed.yml which is pretty long, so I don’t want to post it here, but you can find it here: https://github.com/mauricerenck/kirby-podcaster/blob/master/blueprints/pages/podcasterfeed.yml
The blueprint works, I created a new page and set the filename of the markdown to
podcasterfeed.md in the terminal. The page appears in the panel, I can open, edit and save it.
But for the users of my plugin, I would like to skip that extra step of creating the page outside of the panel or renaming the file etc. they should be able to select it from the template selection dropdown when creating a page.
Is there anything I am doing wrong, so the template isn’t available?