June 9, 2022, 6:27am
Is there a way to customize the button that publish the page?
I need it to have only 2 options: ‘public’ or ‘draft’.
I would like to remove the ‘unlisted’ and the ‘position’
Maybe it would be easier to create a new component that affect it? because I also want it to be more noticeable.
Thanks in advance!
You can set the allowed statuses via the blueprint:
June 9, 2022, 6:53am
Thanks a lot!
I managed to change the status options
There is still the position dropdown that I would like to remove.
I checked this page options but I couldn’t find how to do that.
Any idea if it’s possible?
Thanks so much!
June 9, 2022, 8:50am
I removed it through the stylesheet.
I have another question about the position.
When I try to position pages in the panel by drag it doesn’t really work - it drops the page in a random position. is it a bug?
I’m not aware of a bug. Could you please post the blueprint section for which sorting doesn’t work? I assume you are using default numbering?
June 10, 2022, 5:25am
This is the blueprint of my home page
short: 5 seconds
medium: 10 seconds
long: 20 seconds
label: big event
label: full page image
it gives me 4 lists: events, features, images and locations, and in each of them I experience this ‘bug’.
this is the yml for locations for example:
label: שם המקום
label: בחרו חץ
I didn’t change the numbering order.
This section sorts by date, so you cannot change the order manually. For the others, at least the location, which don’t have the
num property set, manual sorting should work properly.
If you want an extra button to change the status, you could probly use the Janitor plugin with a custom job:
Kirby 3 Plugin for running jobs like cleaning the cache from within the Panel, PHP code, CLI or a cronjob - GitHub - bnomei/kirby3-janitor: Kirby 3 Plugin for running jobs like cleaning the cache f...
June 10, 2022, 7:35am
Thanks - I know, I changed it to sort: date because it didn’t work well