I am not offered draft status in the panel. Therefore I cannot edit a page in the panel.
What can I change?
You’re probably using the starterkit? You have to delete line 16 - 23 from site/blueprints/pages/default.yml
: https://github.com/getkirby/starterkit/blob/7af55992cfac58c766f8be647b39619acfae693b/site/blueprints/pages/default.yml#L16
More info: https://getkirby.com/docs/reference/panel/blueprints/page#statuses
If not, can you please post your blueprint?
Thank you for answer.
I’m using the KIII Kirby Theme.
site/blueprints/pages/default.yml -->
title:
en: Default
es_ES: Predeterminada
de: Standard
tabs:
# tab
tabContent:
label:
en: Content
es_ES: Contenido
de: Inhalt
columns:
# column
columnMain:
width: 2/3
sections:
sectionContent:
type: fields
fields:
subtitle: fields/subtitle
text: fields/text
# column
columnSidebar:
width: 1/3
sections:
sectionPages:
headline:
en: Subpages
es_ES: Subpáginas
de: Unterseiten
type: pages
sectionFiles:
headline:
en: Files
es_ES: Archivos
de: Dateien
type: files
sectionMedia:
type: fields
fields:
author: fields/author
date: fields/date
tags: fields/tags
# tab
tabOptions: tabs/options
Which page are you trying to edit?
The possible page statuses are defined with the status
option.
The part of the blueprint you have posted doesn’t have any status options set, maybe they are in the options tab. Could you post /site/blueprints/tabs/options.yml
as well?
If that doesn’t help, do a search across the blueprints folder for status
or get in touch with the theme developer. Such stuff should also be documented in the theme documentation.
Thank you for answer.
Inserting the status in default.yml does not bring any change.
Maybe writing via web access is generally not allowed?
Via SFTP I can change the files.
Here is the file options.yml
label:
en: Options
es_ES: Opciones
de: Optionen
fields:
# heading
headlineHeader:
label:
en: Header
es_ES: Encabezado
de: Header
type: headline
titleVisibility: fields/titleVisibility
subtitleVisibility: fields/subtitleVisibility
titleAlignment: fields/titleAlignment
thumbnail: fields/thumbnail
thumbnailVisibility: fields/thumbnailVisibility
thumbnailAlign: fields/thumbnailAlign
# matadata
headlineMetadata:
label:
en: Metadata
es_ES: Metadata
de: Metadaten
type: headline
authorVisibility: fields/authorVisibility
dateVisibility: fields/dateVisibility
breadcrumbVisibility: fields/breadcrumbVisibility
tagsVisibility: fields/tagsVisibility
# page
headlinePage:
label:
en: Page
es_ES: Página
de: Seite
type: headline
layout: fields/layout
authorBioVisibility: fields/authorBioVisibility
footerNavVisibility: fields/footerNavVisibility
# subpages
headlineSubpages:
label:
en: Subpages
es_ES: Subpáginas
de: Unterseiten
type: headline
subpagesSource: fields/subpagesSource
subpagesVisibility: fields/subpagesVisibility
subpagesLayout: fields/subpagesLayout
sortField: fields/sortField
sortDirection: fields/sortDirection
subpagesMax: fields/subpagesMax
Looks like you have a problem with writing to files or with PATCH requests, because the status of a page is completely irrelevant for whether or not you can edit the page.
Check your folder/file permissions (755/644)and ownership.
If those settings are correct, have a look at the browser console, do you get any errors there? Can you do things like upload files and create new pages but not edit pages? If so, it might be a problem with PATCH requests.
Thank you. everything is all right now.