Hello I am building a system where I have a contenten(contents) folder within my content folder.
This is a folder that should contain my main contenttypes like blog, recepten(recipes) and diensten(services).
In my panel it looks like this:
When I add 1 contenttype(page) nothing goes wrong:
I can also add my blog messages withing this blog contenttype:
title: Bericht
num: date
icon: 📖
status:
draft:
label: Draft
text: The note is still in draft mode. It can only be seen by editors with panel access.
unlisted:
label: In Review
text: The note 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 note is online and listed in the blog
columns:
- width: 1/2
fields:
text:
label: Beschrijving
type: textarea
size: small
author:
type: users
multiple: true
- width: 1/2
sections:
info:
type: info
headline: Attention
theme: negative
text: |
Check alsjeblieft goed of je image de goede grootte heeft
voordat je hem gebruikt als cover.
cover:
type: files
multiple: false
type: pages
headline: Berichten
parent: site.find("berichten")
info: "{{ page.date.toDate('d.m.Y') }}"
template: bericht
empty: No berichten yet
sortBy: date desc
title: Recept
num: date
icon: 📖
status:
draft:
label: Draft
text: The note is still in draft mode. It can only be seen by editors with panel access.
unlisted:
label: In Review
text: The note 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 note is online and listed in the blog
columns:
- width: 1/2
fields:
text:
label: Beschrijving
type: textarea
size: small
author:
type: users
multiple: true
- width: 1/2
sections:
info:
type: info
headline: Attention
theme: negative
text: |
Check alsjeblieft goed of je image de goede grootte heeft
voordat je hem gebruikt als cover.
cover:
type: files
multiple: false
I still don’t get it. With the contenten blueprint, I can’t create the blog page at all… And the contenten section is only used in the content blueprint, not in the contenten one.
The content blueprint is used for a view of the contenttypes: blog, recepten etc. This view is accessed by clicking on the headline of the section in my site.yml: