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
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.
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 support
-
Plugins, theme and development
. I don't answer to private message.
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