This module exemplifies new ways of content interaction beyond currently known patterns. It was developed in the context of the European, FP7 funded RENDER project. This module focuses on navigational aspects which are directly infered from the authors' article content.
Twig is a very powerful text filtering system which has features not available in current drupal text filting systems. Twig gives the power of a basic programming language with conditional blocks and looping and well as many other features.
Download the Twig library from the Twig home page.
Unpack the library into the sites/all/libraries/twig directory so the AutoLoader.php is in the page sites/all/libraries/twig/lib/Twig/AutoLoader.php
Using Twig filter
Rules
To your rules add the Trig Filter to your rules. Add the template text to the Action and set the variable to be provided. Then in the next action you will be able to pass the variable created to any proceeding action.
Caching
Twig has a very comprehensive caching system which can dramitcally increase the speed of processing. To enable this add the following to your settings.php