Skip to content

A tiny field to display the tinyurl of the current page

License

Notifications You must be signed in to change notification settings

Thiousi/kirby-tinyurl-field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kirby TinyURL field

Version License Kirby Version

A tiny field that displays the tinyURL of a page in the panel for Kirby

Kirby Tiny URL

Installation

1. Kirby CLI

If you are using the Kirby CLI you can install this plugin by running the following command in your shell from the root folder of your Kirby installation:

kirby plugin:install thiousi/kirby-tinyurl-field

2. Manual

Download this archive, extract it and rename it to tinyurl. Copy the folder to your site/fields folder.

3. Git Submodule

If you know your way around git, you can download this as a submodule:

git submodule add https://github.com/Thiousi/kirby-tinyurl-field/ site/fields/tinyurl/

Usage

In your blueprint:

  tinyurl:
    label: Tiny URL
    type: tinyurl
    help: Click on field to copy to clipboard
    width: 1/2

The field supports the standard options:

- Help
- Width

You can also internationalize the label the same way you would with any other fields.

To-do

  • Copy to clipboard on click

License

MIT

Changelog

1.0.0

  • Initial release

1.1.0

1.1.1

  • Changed icon to clipboard
  • Better console logging
  • Cleaned up code

About

A tiny field to display the tinyurl of the current page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published