freelinks

freelinking.module allows content authors to link to other pieces of content (ie., nodes) in the Drupal site easily, using CamelCase words and freelinking delimiters, currently defined as double-square brackets ( [[ and ]] ).

When enabled, the freelinking filter searches the body of nodes looking for "CamelCase" style words (words that begin with a capital letter and have one or more capitalized words run together) and words or phrases enclosed in double-square brackets [[like this]]. These words become clickable to a node with the words as the title. If no node so titled exists, the link will attempt to create the node and present the user with the node creation form, with the title already filled in.

In addition to these simple linking styles, freelinking.module also supports an expanded syntax using the double-square bracket method. Freelinks containing a bar (or pipe, '|') will link different text to the target. For example, [[this is what's shown|this is the target]] will link the text "this is what's shown" to content titled "this is the target," or, if that doesn't exist, the create content page will be shown with "this is the target" as the title.

Freelinks within double-square brackets can also contain URLs that begin with http://. So links like this [[Drupal Web Site|http://www.drupal.org]] are acceptable, as is [[http://www.drupal.org]], which will show the URL in the body and link it.

Vote Result


Score: 7.3, Votes: 3