[[option()]]
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:create:functions:option [20.12.2014 18:31] – [Progress Bar] alexander.ritteren:create:functions:option [20.12.2014 18:40] – [Layout] alexander.ritter
Line 43: Line 43:
 Adjusting the progress displayed is also possible. When the following PHP code is put on a page in the questionnaire, 30% progress is displayed.  Adjusting the progress displayed is also possible. When the following PHP code is put on a page in the questionnaire, 30% progress is displayed. 
  
-As of version 2.5.00, progress onto the following pages will be calculated on the basis of the set value. In older versions, the progress has to be set individually for each page. In general, the progress has to be set individually for previous pages, e.g. if the progress bar should run more "slowly" at the beginning. +As of version 2.5.00, the progress on following pages will be calculated on the basis of the set value. In older versions of the program, the progress has to be set individually for each page. In general, the progress has to be set individually for previous pages, e.g. if the progress bar should run more "slowly" at the beginning. 
  
 <code php> <code php>
Line 51: Line 51:
 ===== Buttons in the Questionnaire ===== ===== Buttons in the Questionnaire =====
  
-The Back button will be hidden on one single page with the following PHP code (as long as this button is enabled in the questionnaire):+The Back button will be hidden on an individual page with the following PHP code (as long as this button is enabled in the questionnaire):
  
 <code php> <code php>
Line 66: Line 66:
 ===== Layout ===== ===== Layout =====
  
-Should extensive stimulus be displayed in the questionnaire, which reflects a website? The "normal" structure of the questionnaire is probably too narrow to do this and has a detrimental effect on the appearance. +Should extensive stimulus be displayed in the questionnaire, reflecting a website? The "normal" structure of the questionnaire is probably too narrow to do this and interferes with the appearance. 
  
-Open **Questionnaire Layout** in the menu. If you have not yet activated a layout, first of all activate the "SoSci Survey Standard" layout in //Layout Templates// (so the questionnaire carries on in the default layout). Afterwards, activate the "SoSci Stimulus Presenter" layout -- it is given the ID "presenter"+Open **Questionnaire Layout** in the menu. If you have not yet activated a layout, activate the "SoSci Survey Standard" layout first of all in //Layout Templates// (so the questionnaire appears in the default layout). Afterwards, activate the "SoSci Stimulus Presenter" layout -- this is given the ID "presenter"
  
-Use the following PHP code on the page with the stimulus on it in order to let the structure of the questionnaire disappear:+Use the following PHP code on the page with the stimulus on it, which allows the structure of the questionnaire to disappear:
  
 <code php> <code php>
 option('layout', 'presenter'); option('layout', 'presenter');
 </code> </code>
en/create/functions/option.txt · Last modified: 05.09.2020 13:06 by sophia.schauer
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki