Full Screen
Route Config
Icon Settings
Tooltip Config

How to create a custom route displaying a Text, a tool tip or an icon

Introduction

This module allows you to create a custom route displaying a Text, a tool tip or an icon extending the LinkBase views.

With this module you can:

  • Choose a drupal route with a specific machine name;
  • Dinamically insert route parameters (throughout replaced tokens);
  • Manage the rendering of links displaying objects:
    • texts;
    • icons (with fontawesome icon module);
    • tooltips (with bootstrap theme).

Requirements

In the case want to render a link icon:

You want to render a link tooltip:

Configuration

No extra configuration is needed.

All the above described functions are available in the views custom link global field available in the main view page.

Usage

In order to have access to the tooltip options, the bootstrap theme needs to be installed.

Differently, if you want to install other themes, extract from the bootstrap framework folder the bootstrap.min.js or tooltip.js libraries, and include them in the custom module under definition.

In order to have access to the icon options, the fontawesome library needs to be installed and you can automatically load the icon classes from the icon area;

Differently, if fontawesome library is not installed it is always possible to load a custom icon class.

Moreover, icon decoration is possible throughout a text placement before or after the icon.

Route configuration

In order to dinamically insert route parameters, define the path using machine name defined in the YML file;

The parameters can be added throughout token system.

Features & Development

Status:

  • Development

Features:

  • Managing different font's icon;
  • Use tooltip without bootstrap theme;
  • Manage external url;

Version 8.x-1.x Under developement

Supporting organizations: 

Project information

Releases