Linkit provides an easy interface for internal and external linking with editors and fields by using an
autocomplete field. Linkit links to nodes, users, managed files, terms and have basic support for all entities by
default. Linkit has three major advantages over traditional linking
- The user does not have to copy or remember a URL.
- It is a sustainable solution for internal linking.
- It has a user friendy UI.
Features
- Bacis support for all entities.
- Token support (for better descriptions on search results in Linkit).
- Provides a link button, similar to the ordinary link button in most editors.
- Can be attached to fields.
- The button opens a dialog with an autocomplete field for searching content.
- Support for IMCE.
- Settings are handled by profiles, similar to the profiles of the WYSIWYG module. Thus, it is possible to customize the behavior of Linkit in detail.
- Works with and without Pathologic.
- Internal absolute URL:s converts automatically into Drupal paths, very simple for users who are used to copy-pasting.
- Tested to work in multiple server environments, e.g. with and without clean URL:s, Drupal installation in a subdirectory or on a different port.
- Uses BAC *
- Fully exportable with Features module
*Since Drupal’s own autocomplete was not enough, we developed our own Better Autocomplete which provides a rich autocomplete experience. It is GPL and bundled with Linkit > 7.x-2.x.
Installation
- Normal module installation procedure.
- Enable the Linkit button in your editor or on your field.
Configuration
(admin/config/content/linkit)
After the installation, you have to create a Linkit profile. The profile will contain information about which attributes and plugins to use.
Dependencies
Editor support
Extra plugins
- Linkit panel pages.
- Linkit Views (is included in 6.x)
- Linkit Picker.
- Linkit Target. Adds the target attribute. (In Linkit core since 7.x-3.0)
- Linkit Markdown.
API
Our new robust and flexible API
- Makes it easy for developers to extend Linkit with custom plugins. Example implementations included.
- Has support for altering db querys, using tags.
- Makes it possible to add HTML attributes to links (or alter existing attributes’ interface)
Take a look at the API file called linkit.api.php in Linkit core.
Video tutorials
- https://www.youtube.com/watch?v=uB99DyFmxOY Thank to Ivan Zugec.
- https://www.youtube.com/watch?v=dUJT6EIhcm0 Thanks to Brian Lewis.
Emil Stjerneman in Drupal module