Download the PHP package pixelopen/kirby-customizable-layout without Composer
On this page you can find all versions of the php package pixelopen/kirby-customizable-layout. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pixelopen/kirby-customizable-layout
More information about pixelopen/kirby-customizable-layout
Files in pixelopen/kirby-customizable-layout
Package kirby-customizable-layout
Short Description A plugin for Kirby CMS to add customization to layouts
License MIT
Homepage https://github.com/Pixel-Open/customizable-layout
Informations about the package kirby-customizable-layout
Kirby Customizable Layout plugin
A plugin for Kirby CMS to add a customizable layout fields
Commercial Usage
This plugin is free
Installation
Download
Download the files and place them inside site/plugins/kirby-customizable-layout
.
Composer
Git Submodule
You can add the plugin as a Git submodule.
$ cd your/project/root
$ git submodule add https://github.com/Pixel-Open/kirby-customizable-layout.git site/plugins/kirby-customizable-layout
$ git submodule update --init --recursive
$ git commit -am "Add Kirby Customizable Layout plugin"
Run these commands to update the plugin:
$ cd your/project/root
$ git submodule foreach git checkout master
$ git submodule foreach git pull
$ git commit -am "Update submodules"
$ git submodule update --init --recursive
Options
To add a customizable layout field in your blueprint, you only have to extend fields/customizable-layout
For now, you need to add the fieldsets block-settings
with the following lines in your /site/config/config.php
:
You can also add your own fieldsets when you extend the fields, to add the block-settings
block and all the other block you want to use.
Dont forget to call the snippet in the page where you use the plugin.
The plugin work with color field from Kirby 4, you must create a new fields with your custom colors at /site/blueprints/fields/color.yml
:
All versions of kirby-customizable-layout with dependencies
getkirby/composer-installer Version ^1.2
getkirby/cms Version ^4.0.0-beta.2