Navigation sub menu pages not showing in panel

I have a navigation below with sub-menus which are not showing in the panel. So on the panel I just have Services with a blank page. How do I show the other pages under the services heading in the panel?

Services (Heading - no link/text)
services/therapy-services)
services/mindfulness)

Thanks

Hi David,
Can you give more informations ? Screenshots, code of the blueprints ?

Hi

I have added screenshots. I don’t have blueprints for those pages. I have used sub-pages before, which have shown up as pages on the right.

CleanShot 2023-06-28 at 3.34.52

  1. The services parent page obviously uses the default blueprint (default.txt => default.yml). Please post this default.yml blueprint.

  2. What is the content file name used by the subpages? Also default.txt or something else?

I might be wrong, but I think you are missing a general understanding of how content file name, blueprint name and template name work together. Have you watched the introductory videos? Have you read the introductory chapters in the guide?

Yes, the content file name is default.txt, which is blank as in the screenshot above.

title: Default Page

columns:
  main:
    width: 2/3
    sections:
      fields:
        type: fields
        fields:
          text:
            type: textarea
            size: medium
  sidebar:
    width: 1/3
    sections:
      pages:
        type: pages
        template: default
      files:
        type: files


Please answer all questions

Yes, its the default.txt

This section filters the subpages shown by template. So subpages with a content file name default.txt should show up here.

Just create a new page via the Panel, publish it and then compare with the other subpages.

When I try and make a page I get the following:

	
$dialog	
component	"k-form-dialog"
props	
fields	
parent	
type	"hidden"
title	
label	"Title"
type	"text"
icon	"title"
required	true
preselect	true
slug	
label	"URL appendix"
type	"slug"
required	true
sync	"title"
path	"/"
template	
label	"Template"
type	"select"
empty	false
options	
0	
text	"Blog"
value	"blog"
1	
text	"Article"
value	"blog_article"
2	
text	"Default Page"
value	"default"
icon	"template"
disabled	false
required	true
submitButton	"Create draft"
value	
parent	"site"
slug	""
template	"blog"
title	""
code	200
path	"dialogs/pages/create"
referrer	"/"

Where do you see that? As error message in the dialog? In the browser console? So no page created in the file system?

When I try and add a page after entering the title.

Interesting. What’s your Kirby version? Is the code available on GitHub?