We are trying to put a different logo on the nav-bar depending of the user's logo attribute. So we have created an attribute which reads the name of the logo.
On the theme's editor, we can take that value with 'processString("{TOKEN:ATTRIBUTE_1}")'.
The problem is that I am trying to insert that code on {{ image('./files/processString("{TOKEN:ATTRIBUTE_1}").png', 'Logo', {"class": "logo img-responsive"}) }} but it doesn´t work. I have tried this way too: {{ image('./files/', processString("{TOKEN:ATTRIBUTE_1}"), '.png', 'Logo', {"class": "logo img-responsive"}) }}
Is there any way to use the attribute value on {{ image }} function?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.