Linkit - the new way to link with Drupal wysiwyg

Updated 2011-03-02

Linkit

Linkit provides an easy interface for internal linking. Linkit links to nodes, users, views and terms by default, using an autocomplete field. Linkit has two major advantages over traditional linking

  • The user does not have to copy or remember a URL.
  • If the target node changes it's alias (e.g. if the node's menu item title is changed) the link will remain functional.

Features

  • Provides a link button, similar to the ordinary link button in most editors.
  • The button opens a window with an autocomplete field for searching content.
  • Use the same interface for external links.
  • Provides hooks, so module developers can easily integrate search functions for their content.
  • Works well with Pathauto. The links are stored in the database e.g. as "internal:node/99", which means that if the alias of that node changes, the links will be updated (when cron runs).
  • Fine grained permission control.
  • Support for IMCE.

Installation

  1. Install and enable linkit and at least one of linkit_node, linkit_views, linkit_taxonomy or linkit_user.
  2. Enable the Linkit button in your WYSIWYG editor's settings.
  3. If you are using stand alone CKEditor, there is some more installation information in the editor dir.
    • CKEditor (/sites/all/modules/linkit/editors/ckeditor/README.txt)

Dependencies

Linkit dont have any "real" dependencies, but without these modules you dont get the fully functionality. To begin, we need an editor. Linkit supports all of these editors:

Linkit creates internal links with the "internal:" prefix. To make your site understand these links, you have to install Pathologic.

Make sure Pathologic is enabled on the input formats you intend to use with linkit.

Hooks

The autocomplete field is extendeble, so you can easy extend it with your own plugins. For example you may wan't to integrate a third party web service. For more infomartion see the README.txt file.

Extra plugins

Download

http://drupal.org/project/linkit

Taggar: 

Lägg till ny kommentar