The tab field type is designed specifically for use within the fields.
Switch branches/tags
Clone or download
Latest commit 030289b Sep 6, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Update tabs.js Sep 5, 2018
.gitignore First commit Sep 11, 2015
README.md Update README.md Sep 6, 2018
composer.json added composer support using composer installers (https://github.com/… Sep 20, 2017
package.json Corrected name in package.json Dec 7, 2016
preview.gif New preview Aug 18, 2016
tabs.php Jumps to tab with empty required field on save Aug 18, 2016
tabswitch.gif Tabswitch Aug 18, 2016

README.md

Tabs Field v1.7

Tabbed Fields for Kirby CMS

Preview

The tab field type is designed specifically for use within the fields.

Error

If there's an error in another tab, like an empty but required field, the tab will be automatically switched.

Installation guide

1. With Kirby CLI

$ cd /your/kirby/installation
$ kirby plugin:install afbora/Kirby-Tabs-Field

2. With Git

2.1. Cloning
$ cd /your/kirby/instalation/site/fields
$ git clone https://github.com/afbora/Kirby-Tabs-Field.git tabs
2.2. Submodule
$ cd /your/kirby/instalation/
$ git submodule add https://github.com/afbora/Kirby-Tabs-Field site/fields/tabs

3. Tarball

Simply download this repository and extract it into /your-kirby-installation/site/fields/.

Blueprint Example

title: Project
pages: true
files: true
fields:
  tab1:
    label: General
    type:  tabs
  title:
    label: Title
    type:  text
  text:
    label: Text
    type:  textarea
  tab2:
    label: Details
    type:  tabs
  technologies:
    label: Technologies
    type:  textarea
  link:
    label: Link
    type:  url