Problem/Motivation
As an editor I would like the ability to write a template which is able to use clientside variables. Variables should be drawn from localstorage, datalayer, param or cooke. A template, written in handlebars, or similar, should then be transformed with the variables from these sources.
Proposed resolution
Create a new Personified Message block
Which has a textarea for the template
A select list for the transformer.
The transformer should be a JSON Transformer plugin provided in the JSON Template module.
Comments
Comment #3
kybermanThe feature has been done and pushed to dev branch.
The DataLayer was skipped for now, as the interface doesn't allow to get all values (without knowing variable names).