These are two different things.
{{ aSurveyInfo.name }} is Twig variable.
To see all available items in the
aSurveyInfo array, add this to the Twig file:
Code:
{{ dump(aSurveyInfo) }}
{SURVEYNAME} is an Expression Manager variable.
Denis has implemented a fix so we can also access those in the Twig files -
github.com/LimeSurvey/LimeSurvey/pull/1025
.
So, to use that, you would place something like this in the Twig file:
Code:
{{ processString(aSurveyInfo.surveyls_title) }}
{{ processString('{SURVEYLANGUAGE}') }}
{{ processString('{strip_tags(TOKEN:ATTRIBUTE_1)}') }}