Welcome, Guest
Username: Password:

TOPIC: Change layout in survey runtime?

Change layout in survey runtime? 4 years 1 month ago #77165

  • muellers
  • muellers's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 18
  • Karma: 0
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
The administrator has disabled public write access.

Change layout in survey runtime? 4 years 1 month ago #77168

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5761
  • Thank you received: 1251
  • Karma: 512
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 1 month ago by tpartner.
The administrator has disabled public write access.

Aw: Re: Change layout in survey runtime? 4 years 1 month ago #77181

  • muellers
  • muellers's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 18
  • Karma: 0
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:
The administrator has disabled public write access.

Aw: Re: Change layout in survey runtime? 4 years 1 month ago #77183

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1670
  • Thank you received: 413
  • Karma: 106
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
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.280 seconds