# Blueprints/templaters not showing in Panel

**URL:** <https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315>\
**Category:** Questions\
**Tags:** v3\
**Created:** [April 22, 2022, 3:22pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315 "2022-04-22T15:22:12Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidroberts](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@davidroberts](https://forum.getkirby.com/u/davidroberts)\
**Post date:** [April 22, 2022, 3:22pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/1 "2022-04-22T15:22:12Z")

</div>

I have set up a ‘news’ section following the Creating a Kirby-powered blog in your cookbook section and want to be able to use the kiby panel to add news articles. I have set up the blueprints as per the blueprint samples. The only thing that is different is that instead of using blog and article I am using news and article. In the panel section under news, I just see Column (1/1) and No sections yet. How do I get this to show the correct layout to add news articles?

Thanks

---

<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:** [April 22, 2022, 4:26pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/2 "2022-04-22T16:26:30Z")

</div>

Ok, so now you have a `/site/blueprints/pages/news.yml` for the parent page and an `/site/blueprints/pages/article.yml` for the single article, right?

And have you also created the `/site/blueprints/sections/articles.yml` file as in this example [Blog | Kirby CMS](https://getkirby.com/docs/reference/panel/samples/blog)

---

<div class="post-metadata">

**Author:** ![davidroberts](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@davidroberts](https://forum.getkirby.com/u/davidroberts)\
**Post date:** [April 22, 2022, 5:39pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/3 "2022-04-22T17:39:21Z")

</div>

texnixe,

I have `/site/blueprints/pages/news.yml` for the parent page and `/site/blueprints/article.yml` for the single article not ‘pagesarticle’. The template sections are called news.php and article.php. Blueprint sections are called article.yml and news.yml and the content section is called news with article.text

Yes I have created `/site/blueprints/sections/articles.yml`

---

<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:** [April 22, 2022, 5:44pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/4 "2022-04-22T17:44:41Z")

</div>

> [@davidroberts](#):
>
> `/site/blueprints/article.yml`

This should be `/site/blueprints/pages/article.yml`, i.e. in the pages folder, just missed the slash in my post above.

---

<div class="post-metadata">

**Author:** ![davidroberts](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@davidroberts](https://forum.getkirby.com/u/davidroberts)\
**Post date:** [April 22, 2022, 6:17pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/5 "2022-04-22T18:17:54Z")

</div>

It is in `/site/blueprints/pages/article.yml`

---

<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:** [April 22, 2022, 6:29pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/6 "2022-04-22T18:29:11Z")

</div>

Could you post a screenshot of what you actually see in the Panel now? I’m not really following with all these sections…

Did you copy those blueprints exactly as they are without any changes? Maybe post them here for comparison (as code)

---

<div class="post-metadata">

**Author:** ![davidroberts](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@davidroberts](https://forum.getkirby.com/u/davidroberts)\
**Post date:** [April 22, 2022, 7:02pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/7 "2022-04-22T19:02:02Z")

</div>

Screenshot and code

 ![CleanShot 2022-04-22 at 8.00.51](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/f/f9f986c1fb82123b8981b736e76fa9597a748bac.jpeg)

pages.article.yml

```auto
title: Article
num: '{{ page.date.toDate("Ymd") }}'
icon: 📖

status:
  draft:
	label: Draft
	text: The article is still in draft mode. It can only be seen by editors with panel access.
  unlisted:
	label: In Review
	text: The article is online and can be visited with the direct URL. The team must still give the final go to publish it.
  listed:
	label: Published
	text: The article is online and listed in the blog

columns:
  main:
  - width: 2/3
	fields:
	  headline:
		label: Headline
		type: text
	  text:
		  label: Text
		  type: textarea
		  size: large

  sidebar:
  - width: 1/3
	sections:
	  meta:
		type: fields
		fields:
		  date:
			type: date
			time: true
			default: now
	  files:
		label:select files...
		type: files
		layout:list
		image:
		  cover:true
		template: blocks/image

```

pages.news.yml

```auto
title: News 
icon: 📚

columns:
  left:
	width: 1/2
	sections:
	  drafts:
		extends: sections/articles
		headline: Drafts
		status: draft

	  unlisted:
		extends: sections/articles
		headline: In Review
		status: unlisted

  right:
	width: 1/2
	sections:
	  listed:
		extends: sections/articles
		headline: Published
		status: listed

```

sections.articles.yml

```auto
type: pages
headline: Articles
info: "{{ page.date.toDate('d.m.Y') }}"
template: article
empty: No articles yet
sortBy: date desc
  

```

---

<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:** [April 22, 2022, 7:40pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/8 "2022-04-22T19:40:05Z")

</div>

There seems to be something wrong with your filename. Why do you prepend `sections./pages.` to the filenames?

---

<div class="post-metadata">

**Author:** ![davidroberts](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@davidroberts](https://forum.getkirby.com/u/davidroberts)\
**Post date:** [April 23, 2022, 9:02am UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/9 "2022-04-23T09:02:32Z")

</div>

Ignore that, it is correct. It was just a way of separating the words.

 ![CleanShot 2022-04-23 at 9.58.21](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/7/707e4131609e3f2abc4ddc315b40ce86c06ec60d.jpeg)

---

<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:** [April 23, 2022, 11:14am UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/10 "2022-04-23T11:14:54Z")

</div>

Check if you blog page in the content folder is called news.txt, if not, rename it.

---

<div class="post-metadata">

**Author:** ![davidroberts](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@davidroberts](https://forum.getkirby.com/u/davidroberts)\
**Post date:** [April 23, 2022, 12:51pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/11 "2022-04-23T12:51:56Z")

</div>

It is called news.txt.

---

<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:** [April 23, 2022, 1:19pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/12 "2022-04-23T13:19:32Z")

</div>

Just noticed that your indentation seems to be wrong, you news.yml blueprint should look like this:

```auto
title: News
icon: 📚

columns:
  left:
    width: 1/2
    sections:
      drafts:
        extends: sections/articles
        headline: Drafts
        status: draft

      unlisted:
        extends: sections/articles
        headline: In Review
        status: unlisted

  right:
    width: 1/2
    sections:
      listed:
        extends: sections/articles
        headline: Published
        status: listed

```

Also make sure to use only spaces, no tabs to indent levels.

---

<div class="post-metadata">

**Author:** ![davidroberts](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@davidroberts](https://forum.getkirby.com/u/davidroberts)\
**Post date:** [April 23, 2022, 4:57pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/13 "2022-04-23T16:57:51Z")

</div>

That fixed it using spaces and not tabs! Thanks.

One other thing that is not showing is the date for the article. I have the following as the code that I am using.

```auto
 <time datetime="<?= $page->published()->toDate('c') ?>" pubdate="pubdate">
   <?= $page->published()->toDate('d F Y') ?>
   </time>

```

---

<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:** [April 23, 2022, 5:22pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/14 "2022-04-23T17:22:28Z")

</div>

In your `article.yml` your date field is called `date` not `published`, so the code should be:

```auto
<time datetime="<?= $page->date()->toDate('c') ?>" pubdate="pubdate">
   <?= $page->date()->toDate('d F Y') ?>
</time>

```

---

<div class="post-metadata">

**Author:** ![davidroberts](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@davidroberts](https://forum.getkirby.com/u/davidroberts)\
**Post date:** [April 24, 2022, 10:37am UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/15 "2022-04-24T10:37:28Z")

</div>

Thanks texnixe. One last question, can you show the date on both the article and news pages?

Thanks

---

<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:** [April 24, 2022, 11:20am UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/16 "2022-04-24T11:20:43Z")

</div>

Yes, of course. When you loop the your articles on the news overview page, you have access to the full page object, including all the fields.

```auto
<?php foreach ($page->children()->listed() as $article) {
  echo $article->title();
  echo $article-date()->toDate('d F Y');
 // etc.
}
?>

```

---

<div class="post-metadata">

**Author:** ![davidroberts](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@davidroberts](https://forum.getkirby.com/u/davidroberts)\
**Post date:** [April 24, 2022, 12:19pm UTC](https://forum.getkirby.com/t/blueprints-templaters-not-showing-in-panel/25315/17 "2022-04-24T12:19:50Z")

</div>

Many thanks.
