All Projects → gearsdigital → enhanced-toolbar-link-dialog

gearsdigital / enhanced-toolbar-link-dialog

Licence: MIT license
Enhanced Toolbar Link Dialog is a Kirby 3 plugin to handle internal links

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
Vue
7211 projects

Projects that are alternatives of or similar to enhanced-toolbar-link-dialog

kirby3-similar
Find similar collection items based on similarity
Stars: ✭ 16 (-52.94%)
Mutual labels:  kirby-cms, kirby3-plugin
kirby-minify-html
Enable minify HTML output for Kirby 3
Stars: ✭ 27 (-20.59%)
Mutual labels:  kirby-cms, kirby3-plugin
kirby-helpsection
Panel view to display help for users.
Stars: ✭ 35 (+2.94%)
Mutual labels:  kirby-cms, kirby3-plugin
kirby-blade
Enable Laravel Blade Template Engine for Kirby 3
Stars: ✭ 20 (-41.18%)
Mutual labels:  kirby-cms, kirby3-plugin
kirby-highlight
Themeable server-side syntax highlighting for Kirby
Stars: ✭ 14 (-58.82%)
Mutual labels:  kirby-cms
kirby-podcast
A KirbyCMS-Podcast-Plugin
Stars: ✭ 22 (-35.29%)
Mutual labels:  kirby-cms
laravel-mix-kirby
Laravel Mix helper for Kirby
Stars: ✭ 23 (-32.35%)
Mutual labels:  kirby-cms
content-viewer
A nifty little Kirby widget that allows you to show a block of Kirbytext or Markdown content in Kirby's panel.
Stars: ✭ 16 (-52.94%)
Mutual labels:  kirby-cms
kirby3-doctor
Plugin to check health of your CMS installation
Stars: ✭ 19 (-44.12%)
Mutual labels:  kirby3-plugin
kirby-boiler-field
Boilerplate for Kirby form fields
Stars: ✭ 15 (-55.88%)
Mutual labels:  kirby-cms
kirby-date-methods
Kirby 3 plugin providing field and page methods for formatting dates and creating PHP date objects
Stars: ✭ 13 (-61.76%)
Mutual labels:  kirby3-plugin
kirby-git
Kirby plugin for updating content in the panel via Git
Stars: ✭ 75 (+120.59%)
Mutual labels:  kirby-cms
kirby3-bolt
Kirby 3 Plugin for a fast Page lookup even in big content trees
Stars: ✭ 24 (-29.41%)
Mutual labels:  kirby3-plugin
kirby-securedpages
Protect pages for authenticated users
Stars: ✭ 28 (-17.65%)
Mutual labels:  kirby-cms
komments
A Kirby 3 comment plugin
Stars: ✭ 28 (-17.65%)
Mutual labels:  kirby3-plugin
hfg-documentation-generator
The HfG Documentation Generator
Stars: ✭ 13 (-61.76%)
Mutual labels:  kirby-cms
kirby-markdown-field
Super-sophisticated markdown editor for Kirby 3, community built.
Stars: ✭ 143 (+320.59%)
Mutual labels:  kirby-cms
field-engineer
A Kirby field for complex field structures.
Stars: ✭ 49 (+44.12%)
Mutual labels:  kirby-cms
monochrome
A fully responsive Kirby CMS theme
Stars: ✭ 27 (-20.59%)
Mutual labels:  kirby-cms
k3-image-clip
Visually crop images with a handy image editor directly inside the panel
Stars: ✭ 38 (+11.76%)
Mutual labels:  kirby3-plugin

Enhanced Toolbar Link Dialog - A plugin to handle internal links

Kirby

What the heck is Enhanced Toolbar Link Dialog about? Glad you asked! Enhanced Toolbar Link Dialog is a perfect helper if you…

  1. Can't remember all the pesky and way to long Page URLs,
  2. Want to build up or optimize your internal link structure for SEO without any effort
  3. Looking for a convenient way to deal with internal links

Enhanced Toolbar Link Dialog is a Kirby 3 plugin which makes it easy to add internal or external references to your content by extending the default link dialog of Kirby's textarea fields.

Panel view

panel-view

How to use

After you've installed Enhanced Toolbar Link Dialog successfully, open a page of your choice and click the link toolbar button. Make sure the toolbar or the link button isn't switched off.

After you clicked the link toolbar button, a modal window gets openend which consists two tabs:

The "External Link" tab is exactly what you've had before.

Where it gets interesting is the "Internal Link" tab. Within this tab you can:

  • search for specific pages (by page title)
  • paginate through all existing pages (published/unpublished)
  • specify where to open the linked document in KirbyText

As soon as you have found your page, you can select and insert it into your document.

Installation

Composer

composer require gearsdigital/enhanced-toolbar-link-dialog

Git submodule

git submodule add https://github.com/gearsdigital/enhanced-toolbar-link-dialog.git site/plugins/enhanced-toolbar-link-dialog

Download

Download and copy this repository to /site/plugins/enhanced-toolbar-link-dialog.

Configuration

Option Default Description
gearsdigital.enhanced-toolbar-link-dialog.link.title "{{page.title}}" String The list item text is created using the Kirby Query Language and therefore customizable. It is totally up to you, how the page will appear to your users.

Within the query you have access to page, site and kirby.
gearsdigital.enhanced-toolbar-link-dialog.tab.order "0" - String You can choose between two values.

"0" "External Link" Tab is initially active.
"1" "Internal Link" Tab is initially active.
gearsdigital.enhanced-toolbar-link-dialog.search.filter null Filter to apply to search query when retrieving list of internal links. Must be an array of string values compatible with filterBy() function.
gearsdigital.enhanced-toolbar-link-dialog.search.pageSize "5" Configure the page size in search result list.

Examples

// site/config/config.php
return [
    'gearsdigital.enhanced-toolbar-link-dialog.link.title' => '### {{ page.title }} ###',
    'gearsdigital.enhanced-toolbar-link-dialog.tab.order' => '1', // Internal Link Tab is active
    'gearsdigital.enhanced-toolbar-link-dialog.search.filter' => [ 'page_type', '==', 'textpage' ]
];

Available translations

  • German
  • English
  • Czech
  • French
  • Dutch

Pull requests with additonal translations are very much appreciated!

You can (if you really need to) override and adapt all translations to your needs.

// site/config/config.php
'gearsdigital.enhanced-toolbar-link-dialog' => [
    'translations' => [
        'en' => [
            'gearsdigital.enhanced-toolbar-link-dialog.target.blank' => 'Open in new window'
        ],
        'de' => [
            'gearsdigital.enhanced-toolbar-link-dialog.target.blank' => 'Im neuen Fenster öffnen'
        ],
    ],
]

This is the list of all available translation keys:

'gearsdigital.enhanced-toolbar-link-dialog.internal' => 'Internal Link',
'gearsdigital.enhanced-toolbar-link-dialog.external' => 'External Link',
'gearsdigital.enhanced-toolbar-link-dialog.empty' => 'No pages found',
'gearsdigital.enhanced-toolbar-link-dialog.target.title' => 'Link Target',
'gearsdigital.enhanced-toolbar-link-dialog.target.help' => 'Specify where to open the linked document.',
'gearsdigital.enhanced-toolbar-link-dialog.target.blank' => 'Blank',
'gearsdigital.enhanced-toolbar-link-dialog.target.self' => 'Self',
'gearsdigital.enhanced-toolbar-link-dialog.target.top' => 'Top',
'gearsdigital.enhanced-toolbar-link-dialog.target.parent' => 'Parent',
'gearsdigital.enhanced-toolbar-link-dialog.title.title' => 'Title',
'gearsdigital.enhanced-toolbar-link-dialog.anchor.title' => 'Anchor (#)',
'gearsdigital.enhanced-toolbar-link-dialog.tab.order' => '0'

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].