# Panel will not show fields from .txt file

**URL:** <https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328>\
**Category:** Questions\
**Tags:** v2\
**Created:** [September 27, 2018, 11:08pm UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328 "2018-09-27T23:08:50Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![futuristicvlad](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@futuristicvlad](https://forum.getkirby.com/u/futuristicvlad)\
**Post date:** [September 27, 2018, 11:08pm UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328/1 "2018-09-27T23:08:51Z")

</div>

Using this guide ([https://getkirby.com/docs/cookbook/one-pager](https://getkirby.com/docs/cookbook/one-pager)) I’ve been building a one page site, most everything works fine but the PANEL interface is not showing the fields I’ve put in the /content/1-products/home.txt no matter what I do. This is probably a newbie mistake but I’m stuck and can’t figure this one out.

I’ve:

1. re-uploaded the /panel
2. re-uploaded the /site
3. set permissions to 755 on everything

The home.txt looks like this:

```
Title: Quality contact lenses
----
Text: We carry an extensive range of daily, fortnightly.
----
Subtitle: Premium lenses & coatings
----
Subtext: We use the full range of lens designs .
----

```

When I load the site it all loads and displays correctly, the \<?= $data-\>subtitle()-\>html() ?\> can see and load the content into the snippets I’ve built. however, none of the pages are loading the fields from the .txt into the Pages of the Panel Interface.

Any ideas?

---

<div class="post-metadata">

**Author:** ![klixx](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/klixx/32/7339_2.png) [@klixx](https://forum.getkirby.com/u/klixx)\
**Post date:** [September 28, 2018, 8:23am UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328/2 "2018-09-28T08:23:32Z")

</div>

Do you define the fields in your blueprint?

---

<div class="post-metadata">

**Author:** ![futuristicvlad](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@futuristicvlad](https://forum.getkirby.com/u/futuristicvlad)\
**Post date:** [September 28, 2018, 2:23pm UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328/3 "2018-09-28T14:23:37Z")

</div>

Thank you! @klixx

I knew it was something simple, I was looking in the wrong place. Found the blueprints in /site/blueprints/ and most of it is working now. Having a bit of trouble with the Contact Page, it’s only showing half the fields I defined in the blueprints.

Thank you again!

---

<div class="post-metadata">

**Author:** ![klixx](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/klixx/32/7339_2.png) [@klixx](https://forum.getkirby.com/u/klixx)\
**Post date:** [September 28, 2018, 2:47pm UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328/4 "2018-09-28T14:47:21Z")

</div>

Show us the blueprint and the template of your contact page.

---

<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:** [September 28, 2018, 3:56pm UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328/5 "2018-09-28T15:56:08Z")

</div>

Yaml is sensitive to indentation. Look for the last field that displays properly in the panel, and check the indentation in blueprint from that field downwards.

---

<div class="post-metadata">

**Author:** ![futuristicvlad](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@futuristicvlad](https://forum.getkirby.com/u/futuristicvlad)\
**Post date:** [September 28, 2018, 7:00pm UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328/6 "2018-09-28T19:00:01Z")

</div>

Here’s the blueprint I’m only using a few of the fields. I’m not usign anything below ‘contactoptions’ however, the panel stops loading at subtitle.

```
title: Contact

pages: false

options: 
  delete: false
  status: false

fields: 
  title:
    label: Title
    type: title

  maintitle:
    label: Main Title
    type: text

 subtitle:
    label: Subtitle
    type: text

  text:
    label: Text
    type: textarea

  hours:
    label: Hours
    type: textarea

  contactoptions:
    label: Contact Options
    type: structure
    style: table
    fields:
      title:
        label: Title
        type: text
      icon:
        label: Icon
        type: image
      text:
        label: Text
        type: text
      url:
        label: URL
        type: text
      linktext:
        label: Link Text
        type: text
```

---

<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:** [September 29, 2018, 8:52am UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328/7 "2018-09-29T08:52:13Z")

</div>

Field names should be unique. You have some in the structure field with identical names to others further up.

---

<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:** [September 29, 2018, 9:21am UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328/8 "2018-09-29T09:21:09Z")

</div>

In structure fields you can in fact use the same field names as outside the structure

---

<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:** [September 30, 2018, 7:47am UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328/9 "2018-09-30T07:47:41Z")

</div>

Looks like your indentation is not correct

---

<div class="post-metadata">

**Author:** ![futuristicvlad](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@futuristicvlad](https://forum.getkirby.com/u/futuristicvlad)\
**Post date:** [September 30, 2018, 8:43pm UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328/10 "2018-09-30T20:43:56Z")

</div>

I went over each line and found a missing space. This YML is touchy! Thank you for the tips. I REALLY like Kirby.

---

<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:** [September 30, 2018, 9:54pm UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328/11 "2018-09-30T21:54:23Z")

</div>

Yes, YAML uses a fixed indentation scheme for each data layer. If you stick with two spaces for each indent, you are safe.

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:26pm UTC](https://forum.getkirby.com/t/panel-will-not-show-fields-from-txt-file/11328/12 "2025-02-06T17:26:04Z")

</div>


