To show the template name in a panel page I need to have this in the blueprint:
template:
type: info
text: >
**Template:** home
I think it’s a little bit strange that the template name is no where to be found if not setting it up like this. Instead I would like it to be like this:
title: Home
pages: home
template: true
fields:
somefield: somevalue
If template is true, show it somewhere, in the sidebar for example.
Template name as a data attribute
Sometimes it can be good to hide a child page template in the sidebar pages list. If the template name would exist as a data attribute in the sidebar, that would be possible through the panel css.
The more correct option would probably be “Hide this page on the parent child page list in the sidebar” but adding a data attribute would make the development process faster.
I just tried it on the development branch. Those options are awesome! It completely fixes the first suggestion, to show the template name in the sidebar.
Show template, but prevent edit template - Not possible
To show the template name, but prevent users from changing that template seems not possible at the moment (in the sidebar).
Hide page from parent sidebar page list - Not possible
This suggestion remains. No data attribute or class indicate what template is used in the sidebar. There seems to be no other way to hide a page from the page list by the template name.
Missing in the docs
@distantnative I expect it to pop up in the docs instantly, but where is it? Where?? I’m pressing CTRL + R like crazy over here.
Anyway, good job and thanks for feedbacking my suggestions!