Inline and link Drupal objects (Linodef)
Roi Danton - November 1, 2008 - 16:51
[#id] [#id,option(s)] [#id,option(s) comment]
Linodef is an input filter for embedding content of your Drupal installation (Drupal objects) into any textarea and link to it. The tags are based exclusively on object IDs which enables a highly dynamic usage. So links won't break and the embedded content stays up to date. Editor buttons help users by finding their desired object and inserting the corresponding Linodef tag.
Main features:
- support for many Drupal object types
- short and extensible tags
- admins can create buttons for fast referencing of objects with Linodef tags
- customizable message system for detailed reports about faulty tags
Module dependencies
Optional:
- Advanced help for accessing the documentation. Alternatively use the local documentation.
- Content Permission (part of CCK) to allow additional permissions for fields.
- Supported editor modules to use buttons for those editors.
- Supported field modules to embed those fields.
- Taxonomy (part of Drupal core)
- Views
Roadmap for 6.x-1.0 final
- WYSIWYG API submodule: Supporting WYSIWYG API so the Linodef buttons are useable in all editors WYSIWYG API supports. See #334520: WYSIWYG API support.
- Buttons API: Setup buttons on a dedicated settings page for all supported editors. This enables an easy assignment of tag options for admins.
- Filter: Support for Image- and Filefield. Available in dev, see #335191: CCK fields formatting (support Image- and Filefield).
Further goals
- Buttons API: After altering the view result use its themed output. So e.g. buttons with image thumbs (like in img_assist) can be provided.
- Buttons API: Support inline autocomplete with the help of the button data: #372167: How about intellisense?
- Filter: Supporting dynamic arguments (e.g. tokens) for the option viewargs to embed content sensitive views.
- Filter & Buttons API: Add hook functions and an interface for the option class to allow admins and module developers to add own options.
Translations
The module provides a pot file to translate it in other languages. Currently the following translations are included:
- German (module texts & complete documentation). Translation has been halted since RC2 release to free up time for more important tasks (see roadmap below). So please refer to the english documentation until the first final release.
If you have an own translation please open an issue so it can be included into the first final package.
Upgrade hints
from rc2 to rc3
- Linking to nodes using an own text with the syntax
<#nid>Text</#>is marked as deprecated (it is still supported). Instead use the new optionlinktext="your text". - Option values are now encircled by double quotes
". So you may use almost every 8bit character in option values (except double quote"). Therefore when you already usetranslation=enyou should change it totranslation="en"(the old syntax without double quotes is still supported but marked as deprecated). - The german translation (documentation and module texts) hasn't been updated from rc2 due to workload adjustements. The german translation will be updated upon the Linodef 1.0 final release.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.0-rc3 | 2009-Jul-06 | 67.53 KB | Download · Release notes | Recommended for 6.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.x-dev | 2009-Aug-14 | 75.6 KB | Download · Release notes | Development snapshot | |
