Experimental Project

This is a sandbox project, which contains experimental code for developer use only.

Features

This module provides a similar function as the Insert module, only for any entity type. The purpose of this module is to find a way how to insert any kind of entity into a text area and render it to a desired display mode.

The module uses a JSON token as the Media module does:

[ [{"type":"media","view_mode":"media_large","fid":"4","attributes":{"alt":"","class":"media-image","height":"360","width":"480"}}] ]

We believe that this is the best way to add field collections into the content of a node.

The use case is that you might want to add something like a table, HTML structure to your filterable content. You could use HTML directly or a WYSIWYG editor. But there is no abstraction or collection of your data. So you add a field collection or maybe a node/entity reference. But how do you get this into your text?

Therefore we try to provide a token on a common base that loads an entity and renders it with a given display and maybe some settings. This is a little step to an asset management so you can put any data in any entity and reuse it in any filtered text field.

http://groups.drupal.org/node/232348

Download and installation

Download the sandbox project from http://drupal.org/sandbox/Caseledde/1606312

Related projects

Documentation

The documentation will be given later. In the current state the module is probably hard to use.

Project Information