Check out the LimeSurvey source code on GitHub!

Change layout in survey runtime?

More
4 years 11 months ago #77165 by muellers
Hi,

I would like to split my survey in two different parts.
The first part uses an own user template. The second part I would like to use the basic template.
How can i change these settings during runtime?

Including the template.css is not enough... :-(

Greetings

Please Log in to join the conversation.

More
4 years 11 months ago - 4 years 11 months ago #77168 by tpartner
You can't use two templates for one survey. The only solutions would be:

1) Create a template that has all styles from both and switch the styles mid-survey

2) Use 2 surveys with the end URL of the first one directing to the second. (there are several discusions in the forums on how to do this)

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 4 years 11 months ago by tpartner.

Please Log in to join the conversation.

More
4 years 11 months ago #77181 by muellers
I put the html command

<link href="/limesurvey/upload/templates/new/template.css" type="text/css" rel="stylesheet">

in the questiongroup. But the alignment of the inner tabels is not satisfying.
The inner table is not the same size nor it is at the right position compared to effect changing the template in the survey

how can a get desired effect?
Attachments:

Please Log in to join the conversation.

More
4 years 11 months ago #77183 by Ben_V
it looks like a #layout, #wrap or something like that (depending on your css rules) width setting...
Is it a table layout or not?

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form