kirby-deprecated-plugins / kirby-revisions

Revisions for Kirby CMS
38 stars 5 forks source link
kirby-2

Kirby Revisions 2

Version 2.5 beta - For version 1, see version-1 branch.

I do not guarantee that this is a safe way to backup and restore backups.

Screenshots

Page with revisions

Revisions archive

A revision

1. Install

Kirby CLI

Run this command:

kirby plugin:install jenstornell/kirby-revisions

Manually

Add the folder kirby-revisions into /site/plugins/.

2. Setup

To show the revisions on the page you need to add a field for it.

Blueprint

fields:
  revisions:
    label: Revisions
    type: revisions

3. Remove revisions in the queries

Every page that has revisions will have a folder called revisions. In your templates and snippets you need to remove it from your query.

To do that you can use a collection filter:

https://getkirby.com/docs/developer-guide/objects/collections An example might be added in a later point of time.

Changelog

2.5

2.4

2.3

2.2

2.1

2.0

Misc

Requirements: Kirby 2.3.2 License: MIT