Giter Site home page Giter Site logo

grav-plugin-quick-tray-links's Introduction

Quick Tray Links Plugin

The Quick Tray Links Plugin is for Grav CMS. Easily add customizable admin quick tray links

Installation

Installing the Quick Tray Links plugin can be done in one of two ways. The GPM (Grav Package Manager) installation method enables you to quickly and easily install the plugin with a simple terminal command, while the manual method enables you to do so via a zip file.

GPM Installation (Preferred)

The simplest way to install this plugin is via the Grav Package Manager (GPM) through your system's terminal (also called the command line). From the root of your Grav install type:

bin/gpm install quick-tray-links

This will install the Quick Tray Links plugin into your /user/plugins directory within Grav. Its files can be found under /your/site/grav/user/plugins/quick-tray-links.

Configuration

Before configuring this plugin, you should copy the user/plugins/quick-tray-links/quick-tray-links.yaml to user/config/plugins/quick-tray-links.yaml and only edit that copy.

Here is the default configuration and an explanation of available options:

enabled: true
links:
  - icon: fa fa-book
    link: https://learn.getgrav.org
    tooltip: Grav Documentation and Tutorials
    external: true
  - icon: fa fa-info
    link: /admin/config/info
    tooltip: PHP Information
    external: true

Possible fields for each link include:

  • icon - icon classes to render icon
  • link - Can be a relative URL or an absolute URL
  • tooltip - The tooltip to display on hover
  • external - Set to true, to open the link in a new window
  • class - Any CSS classes you wish to add to the icon link
  • authorize - A string that can be use to check authorization

Usage

Simply create a configuration with the links you wish to see displayed in the Quick-Tray area

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.