Skip to content

Kirby User Feedback Plug-In - A functional and lean floating button to provide links for feedback.

License

Notifications You must be signed in to change notification settings

kreativ-anders/kirby-feedback-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kirby Feedback Button

What do you get?

A little floating button in the lower right corner shows those links to the services you already use.

See a demo on codepen.io to see what we are talking about.

❗ There is also a version without dependencies.
Check codepen.io.

It is totally fine, to Copy & Paste the code from the demos as well!

  • Better performance (No additional requests. No Font Awesome integration required.)
  • Better adaptability.

Why this Plug-In?

There are tons of tools out there that provide real-time chat functionality or immediately forward messages to your Slack channel.

But why using a third-party service in the beginning? The easiest way to create a bond with your customers/visitors is to provide a link to your desired communication platforms somewhere on your page!

Why asking for feedback anyway?

Just because you think that might be good, it does not mean your customers think the same.

Installation:

  1. Download the latest release.
  2. Paste the folder into the plugins folder (site/plugins/) of Kirby.
  3. Done!

(In case you are really fancy you can also add Plug-Ins via git-submodule in the plugins folder. Checkout Kirby docs how to do that)

External Requirements

This Plug-In requires Font Awesome. So ensure to load it somewhere in your templates or snippets, e.g.:

<?= css('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css') ?>

Configuration

Add options in your config.php

'kreativ-anders.feedback-button.color' => 'black',       // HEX, RGB(A), COLOR ... WHATEVER YOU DESIRE
  'kreativ-anders.feedback-button.accounts' => [
    [ 'name'  => 'WhatsApp'
     ,'url' => 'https://wa.me/491512345678910'],         // JUST KEEP THE CORRECT URLs IN MIND
    [ 'name'  => 'Email'
     ,'url' => 'mailto:[email protected]'],
  ]
Supported Accounts Comment
WhatsApp How to link to WhatsApp from a different app (whatsapp.com)
Twitter
LinkedIn
GitHub
Email Mailto Links (css-tricks.com)

Load Plug-In CSS

Add the following code somewhere in your template or snippets:

<?= css('media/plugins/kreativ-anders/feedback-button/main.css') ?>

Add Feedback Button

Add the following code somewhere in your template or snippets:

Do not add the snippet twice. That yields to an ugly ghosting effect.

<?php snippet('feedback-button') ?>

Done!

Notes:

This Plug-In is built for Kirby CMS based on Kirby´s Starterkit Version 3.5.0.

Kirby CMS Licence

Kirby CMS requires a dedicated license:

Go to https://getkirby.com/buy

Support

In case this Plug-in saved you some time and energy consider supporting kreativ-anders by donating via PayPal or becoming a GitHub Sponsor.

About

Kirby User Feedback Plug-In - A functional and lean floating button to provide links for feedback.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project