Context links

jhriggs - May 12, 2004 - 20:46

The context links module allows you to easily create links to context-related material using a simple markup syntax. The links are indicated by either linking the text itself or by inserting a specific string or icon that links to the related information.

Site administrators can define different "classes" of context links. Each class can have a specific icon or string that is used for all instances of that class. Additionally, administrators define a default class which will be used if no class is specified.

The syntax to insert context links is as follows:

[?class:URL link text]
or, to use the default class,
[?:URL link text]

Notes:

  • The URL can be relative (some/link), linking to information on
    the same site, or fully-qualified (http://some.site/), linking to
    information on another site.
  • The URL can optionally be preceded with a ^ (caret) to force the
    link to open in a new window or a ` (backtick) to force the link to
    open in the current window (if the class defaults to opening in a
    new window).
  • To include a right bracket in the URL or text of a context
    link, it must be "escaped" by preceding it with a backslash (\]).
    Likewise, to use a backslash, it must be escaped also (\\).

Releases

Official releasesDateSizeLinksStatus
5.x-1.22007-Jul-1976.42 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2007-Jul-2076.42 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
4.7.x-1.x-dev2006-Nov-1375.75 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.