See the very first example in the first post.
Just in reply of this question, specifically. Also if it is something that doesn't really IMO belongs to this topic.
{{ S_FORM_TOKEN }}
This works
{{ lang('KEY', 3) }}
, but what doesn't work is the nesting of variables as in {{ lang('KEY', {{ VALUE }}) }}
, neither using them in set statements {% set newvar = {{ VALUE }} %}
.{{ TOTAL }} - {{ USED }}
and use the resulting value?{{ lang('KEY', VALUE) }}
{% set newvar = VALUE %}
{{ TOTAL - USED }}
{% set newval = TOTAL - USED %}
Converted all the extensions, styles & admin panel.kasimi wrote: ↑Sat Jul 15, 2017 8:27 am It is recommended to not mix them both. Also have a look at the Twig Converter.
Code: Select all
var collapseImageIdAlt = '{LA_DIGESTS_COLLAPSE}';
var collapseImageIdTitle = '{LA_DIGESTS_COLLAPSE}';
Code: Select all
var collapseImageIdAlt = 'Collapse';
var collapseImageIdTitle = 'Collapse';
Code: Select all
var collapseImageIdAlt = '{{ lang(DIGESTS_COLLAPSE)|addslashes }}';
var collapseImageIdTitle = '{{ lang(DIGESTS_COLLAPSE)|addslashes }}';
Code: Select all
var collapseImageIdAlt = '';
var collapseImageIdTitle = '';