This module creates a filter allowing user to attach everything inline with a simple tag.
The purpose is to provide a "light" presentation, and link to heavy content (ie., with attach_node, then link to full node view, with attach_flash or attach_audio, then link to a lightbox style popup...).
It solves also the caching problem. For example, when a poll is embedded, even if the node content is cached with filter, the poll is fetched using AJAX and allows anyone to cast a vote. The mechanism is similar to Ajax Blocks, however it happens inside the node content.
Bonus: other than Drupal normal contents (entities), Attach also support 3rd party contents (can be configured per format) like Slideshare, Twitter, iframe, or any media (YouTube, Vimeo, Twitter etc. if the MediaWrapper library is present).
Features
- This module is extensible with plugins using Drupal hook mechanism.
- Each plugin has two mode: simple mode or full mode (default).
In simple mode, a minimal text is used and is inserted into node content inside a SPAN tag. In the full mode, a DIV is used and renders more data.
Quick start