Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

arnaudjuracek/kirby-field-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clone-page field

A custom Kirby field which adds a "clone page" button in the sidebar of the panel page.

preview.png

Kirby installation

Put the content of this repo in /site/fields/clone/.

Please note that in order to put a custom action item in the panel's sidebar, I had to use a hacky injection method. Due to that, this field may not work on panel versions other than 2.3.2.

Options

fields:
  clone:
    type: clone
    text: 'Clone this page'
    prefix: '[clone] '
    sourceable: true # show a link to the clone source

Credits

This repo is heavily based on Sonja Broda's kirby-clone-field.

I chose to create a new repo rather than fork its own because I wanted a different approach to the experience of cloning a page.

Contribute

Feel free to fork and pull request. Also, go check out the original kirby-clone-field.

License

MIT.

About

adds a "clone page" button in a panel page

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published