Welcome to the LimeSurvey Community Forum

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

Can tokens drive survey general settings?

  • ChacoKevy
  • ChacoKevy's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 9 months ago #122731 by ChacoKevy
We have customers who would like our surveys to appear as if were a page on their own company's employee portal, instead of my company's. Is there any way to use token attributes to drive general survey settings such as Admin name, Admin email, Template, etc? If no, it would seem I would need to copy the survey each time a new customer wants something personalized.
Thanks!
-CK
The topic has been locked.
  • gabrieljenik
  • gabrieljenik's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 9 months ago #122732 by gabrieljenik
Replied by gabrieljenik on topic Can tokens drive survey general settings?
You could try to update some visual aspects using JQuery.
But some other settings, as adminemail, will be hard to update.

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Checkout our Reporting Solutions and our plugin shop at www.encuesta.biz .

The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 9 months ago #122735 by tpartner
Replied by tpartner on topic Can tokens drive survey general settings?
For the visual aspects (look-and-feel), you could place the customer name in a token attribute and then use something like this in startpage.pstpl. This would give you a customer-specific class for the <body> element so all child elements could be styled accordingly.

Code:
<body class="customer-{TOKEN:ATTRIBUTE_1}">

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 9 months ago #122742 by DenisChenu
Replied by DenisChenu on topic Can tokens drive survey general settings?
And if it's a big customer : use a specific survey and a specific template.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • ChacoKevy
  • ChacoKevy's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 9 months ago #122751 by ChacoKevy
Replied by ChacoKevy on topic Can tokens drive survey general settings?
Specific template, absolutely - but a specific survey? I'm not sure I understand why that's a good idea. Since the surveys would be identical, I was hoping to keep them in the same survey so as to not have to deal with multiple token and response tables on the back end nor multiple csv token file imports on the front end.
Thanks!
CK
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose