this is the projects blueprint which is used on level 1 and two to structure the content
title: kk-projekte
icon: 📚
columns:
left:
width: 1/2
sections:
drafts:
type: pages
headline: "Entwürfe"
help: "Diese Inhalte sind unveröffentlicht und nicht auf der Website zu sehen"
status: draft
layout: cards
create:
- kk-artikel
- kk-projekte
unlisted:
type: pages
status: unlisted
headline: "Überprüfen"
help: "Diese Inhalte sind nicht als Eintrag auf der Website zu sehen, aber über den direkten Link abrufbar."
content:
type: fields
fields:
headline:
label: Headline
type: text
text:
label: Text
type: textarea
right:
width: 1/2
sections:
listed:
headline: Veröffentlicht
type: pages
status: listed
And this is the project blueprint which is used for the content
title: kk-artikel
lable: Seitentitel
icon: page
label: Inhalt
status:
draft:
label: Entwurf
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
tabs:
# content tab
content:
label:
de: Inhalt
en: content
fr: contenu
icon: text
columns:
# main
main:
width: 2/3
sections:
# a simple form
content:
type: fields
fields:
headline:
de: Seitentitel
en: Titel
type: text
summary:
label:
de: Zusammenfassung
en: Summary
type: textarea
maxlength: 200
help: "Max 180 Zeichen"
text:
label: Haupttext
type: textarea
auftraggeber:
label: Auftraggeber
type: text
authors:
label: Autoren
type: users
published:
label: Fertigstellung
type: date
category:
label: Keywords
type: tags
options: query
query: site.index.pluck("tags", ",", true)
sidebar:
width: 1/3
sections:
files:
type: files
headline: Hero Image
help: "Das Hero Image soltle das Projekt gut beschreiben"
multiple: false
search: true
size: large
info:
type: info
headline: Info
text: Please double-check the licenses and sources of all images before you upload them to the gallery.
copyright:
type: fields
fields:
users: kirby.users.filterBy("role", "fotograf")
# SEO META
meta: tabs/seo/meta
The indentation in kk-artikel.yml is not correct, not sure if this is just from copy-pasting here? Also, there is a label: Inhalt where it doesn’t belong.
Would they work properly, if the indentation was wrong?
I can use them in the panel. So i thought i got i right…
I’m totally new to this and try to get my way round…