# Stuck with blueprints and filesystem structure

**URL:** <https://forum.getkirby.com/t/stuck-with-blueprints-and-filesystem-structure/16628>\
**Category:** Questions\
**Tags:** v3\
**Created:** [December 10, 2019, 10:40pm UTC](https://forum.getkirby.com/t/stuck-with-blueprints-and-filesystem-structure/16628 "2019-12-10T22:40:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![itst](https://avatars.discourse-cdn.com/v4/letter/i/cab0a1/32.png) [@itst](https://forum.getkirby.com/u/itst)\
**Post date:** [December 10, 2019, 10:40pm UTC](https://forum.getkirby.com/t/stuck-with-blueprints-and-filesystem-structure/16628/1 "2019-12-10T22:40:09Z")

</div>

I am using Kirby to help me manage, keep record of and draft bills. Additionally I manage my CV and project list via Kirby, too.

The file structure in `content` looks sth like this (abbreviated):

```
./projectlist
./projectlist/projectlist.de.txt
./curriculumvitae
./curriculumvitae/plain.de.txt
./default.de.txt
./bills
./bills/_drafts
./bills/_drafts/2019-002
./bills/_drafts/2019-002/bill.de.txt
./bills/2019-001
./bills/2019-001/bill.de.txt
./bills/default.de.txt

```

What I‘d like to achieve in the Panel is:

1. Do not display any of these pages anywhere.
2. Ideally, on Site level, create a tab where I can access the CV and Project list pages to edit them.
3. Ideally, on Site level, have another tab to access the bills.

I thought I was on the right track, but for the live of me I cannot figure it out.

Maybe my structure is to complicated? Any comments and help is very much appreciated.

---

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [December 10, 2019, 10:56pm UTC](https://forum.getkirby.com/t/stuck-with-blueprints-and-filesystem-structure/16628/2 "2019-12-10T22:56:58Z")

</div>

Can you show us the blue print code you are trying?

But to answer the question, you can set the tabs up and then use pages sections in each one with the parent option set to the corresponding subsection you want to display.

You can set the pages you dont want to show as unlisted status, and set the pages section to show only listed pages. I hope I understood what you trying to do there.

> **[Pages section](https://getkirby.com/docs/reference/panel/sections/pages)**
>
> Kirby is the content management system that adapts to your projects like no other.

[https://getkirby.com/docs/guide/blueprints/tabs](https://getkirby.com/docs/guide/blueprints/tabs)

Did you manually create those files and folders or use the panel? I ask because i wouldnt expect a `default.txt` file at the top level. Thats usually where `site.txt` is.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [December 10, 2019, 11:17pm UTC](https://forum.getkirby.com/t/stuck-with-blueprints-and-filesystem-structure/16628/3 "2019-12-10T23:17:35Z")

</div>

I agree with @jimbobrjames that’s the way to go forward. The part I don’t understand is achievement 1:

> [@itst](#):
>
> Do not display any of these pages anywhere.

---

<div class="post-metadata">

**Author:** ![itst](https://avatars.discourse-cdn.com/v4/letter/i/cab0a1/32.png) [@itst](https://forum.getkirby.com/u/itst)\
**Post date:** [December 12, 2019, 11:05pm UTC](https://forum.getkirby.com/t/stuck-with-blueprints-and-filesystem-structure/16628/4 "2019-12-12T23:05:02Z")

</div>

I am inching my way towards … something better 🙂

Really, I hate YAML. Of course the different bill sections have to have different names. Dang.

To answer your questions:

- The directory tree I posted above resided under `/content`.
- Not display the pages: Most of all, I do not want `plain` (which is an empty directory) to show up in any pages-section. Guess a collection would help here?

Thanks @jimbobrjames and @texnixe! I have the bill part working as intended.

I am struggling with the CV and project list part.

As you can see from the directory listing above, both are files under `plain`. Their `parent` is `site.find("/plain")`.

Question: Via `/site/blueprints/site.yml`, how can I directly access/edit these files in tabs?

Guess I have to screencast this 🙂 It‘s still pretty difficult for me to use the right jargon …

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [December 12, 2019, 11:18pm UTC](https://forum.getkirby.com/t/stuck-with-blueprints-and-filesystem-structure/16628/5 "2019-12-12T23:18:42Z")

</div>

> [@itst](#):
>
> Question: Via `/site/blueprints/site.yml` , how can I directly access/edit these files in tabs?

In a new tab, you can set up a pages section and set the parent of these pages section the parent of the children you want to show. So if you want to show the projectlist page and the CV page, set the parent to `site.find('plain')`.

---

<div class="post-metadata">

**Author:** ![itst](https://avatars.discourse-cdn.com/v4/letter/i/cab0a1/32.png) [@itst](https://forum.getkirby.com/u/itst)\
**Post date:** [December 12, 2019, 11:32pm UTC](https://forum.getkirby.com/t/stuck-with-blueprints-and-filesystem-structure/16628/6 "2019-12-12T23:32:56Z")

</div>

> [@texnixe](#):
>
> In a new tab, you can set up a pages section and set the parent of these pages section the parent of the children you want to show. So if you want to show the projectlist page and the CV page, set the parent to `site.find('plain')`.

Inching ever closer 🙂 Thank you.

Now, can we immediately edit the content of any page in a tab in site.yml? Meaning: Click on the tab, see content and make changes.

Do I make sense at all?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [December 13, 2019, 8:48am UTC](https://forum.getkirby.com/t/stuck-with-blueprints-and-filesystem-structure/16628/7 "2019-12-13T08:48:05Z")

</div>

> [@itst](#):
>
> Now, can we immediately edit the content of any page in a tab in site.yml? Meaning: Click on the tab, see content and make changes.

No, a page section is only a list of pages. When you click on a page in that list, you are redirected to that page where you can then edit the form. If you want to edit the page content inside the tab, you would have to develop a custom solution.

Or you put the fields for those pages into `site.yml` and store it there, and then your page content remains empty and you pull in the stuff for those pages from `site.txt`. It’s an option, but I wouldn’t do that.

---

<div class="post-metadata">

**Author:** ![itst](https://avatars.discourse-cdn.com/v4/letter/i/cab0a1/32.png) [@itst](https://forum.getkirby.com/u/itst)\
**Post date:** [December 13, 2019, 10:02am UTC](https://forum.getkirby.com/t/stuck-with-blueprints-and-filesystem-structure/16628/8 "2019-12-13T10:02:32Z")

</div>

Ah, dang. Understood. Thank you, as always, Sonja!
