* Graham * maltefky The actual twig documentation http://twig.sensiolabs.org/doc/1.x/templates.html that relates to twig on xtgem
in the blog all the data is held in an array called 'data'
This is the tool I use to display the contents of that array
You can just tack it onto the end of the blog twig file and then add 'dump' in the t_no_entries_found parameter to toggle it
{%if 'dump' in data.translations.t_no_entries_found%}
<textarea style="height:10em; width:100%">{{ _context|json_encode(constant('JSON_PRETTY_PRINT')) }}</textarea>
{%endif%}

Copy code
2017-05-11 07:14 · (0)

Online: Guests: 1