Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

2 versions (different logos and welcome texts) based on the same survey?

  • Mannnn
  • Mannnn's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #221710 by Mannnn
Hi!
I would like to have two or more versions with different logos and welcome texts which are based on the same survey (same questions and same database for results).
How can this be done?
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #221714 by holch
How do you plan on defining which "version" of the questionnaire (so which logo and which welcome text) should be presented?

How do your respondents access Limesurvey? Open survey? Token based?

To help you we would need a little bit more details on all this.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
3 years 7 months ago #221729 by tammo
I know that someone wrote a post about starting a survey with the theme as a URL-argument. But I forgot where that was.

@Denis: was that you?

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #221732 by tpartner
Yes, you should be able to populate a hidden question with a URL parameter and then use ExpressionScript to tailor the welcome text (not tested - may need to be in a text-display question).

The value in the hidden question may also be accessed in the theme twig files to display different logos.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
3 years 7 months ago #221734 by jelo

The value in the hidden question may also be accessed in the theme twig files to display different logos.
 
More stuff from Tony can be found here:
forums.limesurvey.org/forum/can-i-do-thi...pon-flag-or-variable

TWIG in LimeSurvey
www.limesurvey.org/manual/Theme_editor_-...ctions#processString

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: tpartner
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 years 7 months ago - 3 years 7 months ago #221750 by DenisChenu

I know that someone wrote a post about starting a survey with the theme as a URL-argument. But I forgot where that was.

@Denis: was that you?

Tammo

 
No, i think Marcel have a plugin for that

EDIT : github.com/TonisOrmisson/limesurvey-url-templates

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.
Last edit: 3 years 7 months ago by DenisChenu. Reason: https://github.com/TonisOrmisson/limesurvey-url-templates
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose