- Posts: 25
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can tokens drive survey general settings?
- ChacoKevy
- Topic Author
- Offline
- Junior Member
Less
More
8 years 9 months ago #122731
by ChacoKevy
Can tokens drive survey general settings? was created 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
Thanks!
-CK
The topic has been locked.
- gabrieljenik
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 272
- Thank you received: 45
8 years 9 months ago #122732
by gabrieljenik
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 .
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.
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
8 years 9 months ago #122735
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
8 years 9 months ago #122742
by DenisChenu
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.
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
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 0
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
Thanks!
CK
The topic has been locked.