Skip to content

TimOetting/kirby-list-field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

List Field for Kirby CMS

This is a custom list field for Kirby. It lets you write and sort a simple list of text inputs.

Here is a blueprint example:

fields:
  ...
  fruits:
    label: Give Me Fruits
    type: list
    placeholder: Add a new fruit

Have a look at the resulting panel field:

list field demo

The content will be YAML-structured. Inside the template, the field therefore has to be decoded as an array using $page->fruits()->yaml().

----

Fruits: 

- Lemons
- Apples
- Banana
- Oranges

Setup

Using git, go to the root folder of your Kirby project and run git clone https://github.com/TimOetting/kirby-list-field.git site/fields/list. You can also just copy the content of this repository into site/fields/list.

About

A custom list field for Kirby CMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published