<description><![CDATA[<strong>Respondage Vanilla</strong> — a clean LimeSurvey 6/7 theme (extension of the core Vanilla theme) with a custom, neatly formatted options page (all options rendered from config.xml, grouped in tabs per category), a header with left/center/right logos (the center logo is truly centered; each logo can be hidden on small screens) and thin per-client variants that carry only their own house-style values and logos. Public releases are leak-checked so no client data ships. Free software under the GPL v2 or later (see LICENSE).]]></description>
Here the list of the css/js files to add to the template package.
About packages in Yii: http://www.yiiframework.com/doc/api/1.1/CClientScript#packages-detail
NOTE: The "add" tag also count as a "replace" tag.
Eg: You can't just "add" a file in the extended theme with the same name as a file here. It will always "replace" it. You must use a diffrent file name.
Eg: Vanilla manifest already has "<add>css/theme.css</add>". So if you use "<add>css/theme.css</add>" in an extended theme, it will replace the vanilla css/theme.css
NOTE: If an extended theme, if you don't change a file that is defined here, you don't need to add it again.
Eg: css/ajaxify.css is already added in vanilla. Nor fruity nor bootswatch modify it, so ne need to add / replace it in fruity or bootswatch.
Even if no mention at all about "css/ajaxify.css" is theme extending vanilla, it will still be added because it's added here
NOTE: To easy test changes in config file, you can force the use of the XML file rather than DB. To do so, turn debug mode on, and in config.php config array, on bottom of debug mode, add:
'force_xmlsettings_for_survey_rendering' => true,
Then, you will not need anymore to reset your theme each time you change the config file.
But, once turning the setting off, You will still must reset the theme to the changes are pushed to DB
<centerlogotopmargintype="text"category="Images"width="12"title="Margin between logo and top of screen (center), in px (0-100)">15</centerlogotopmargin>
shown/hidden via .option-visibility in options.twig/options.js).
Prompt P: all five width=12 — the Images pane renders them stacked in
column 1 of a three-column grid (only that column is used). -->
<backgroundimagetype="buttons"category="Images"width="12"title="Background image (behind body of page)"options="on|off"optionlabels="Yes|No">on</backgroundimage>
<bodybackgroundcolortype="colorpicker"category="Images"width="12"title="Overall background color (when there is no picture in the background)"options="on|off"optionlabels="Yes|No">#dddddd</bodybackgroundcolor>
<backgroundimagefixedtype="buttons"category="Images"width="12"title="Background image fixed or scroll"options="fixed|scroll"optionlabels="Fixed|Scroll"parent="backgroundimage">scroll</backgroundimagefixed>
<questiontitlebackgroundcolortype="colorpicker"category="Questions"width="12"title="Question title background color"options="on|off"optionlabels="Yes|No">#5e1c64</questiontitlebackgroundcolor>
<questiontitlefontcolortype="colorpicker"category="Questions"width="12"title="Question title font color"options="on|off"optionlabels="Yes|No">#ffffff</questiontitlefontcolor>
<questionbackgroundcolortype="colorpicker"category="Questions"width="12"title="Question background color (not title)"options="on|off"optionlabels="Yes|No">#ffffff</questionbackgroundcolor>
<questionhelpfontcolortype="colorpicker"category="Questions"width="12"title="Question help font color"options="on|off"optionlabels="Yes|No">#444444</questionhelpfontcolor>
<questionhelptextpositiontype="buttons"category="Questions"width="12"title="Question help text position"options="top|bottom"optionlabels="Top|Bottom">top</questionhelptextposition>
<questionbordertype="buttons"category="Questions"width="12"title="Question border"options="box|top|none"optionlabels="Box around|Top and bottom|None">box</questionborder>
<questionborderstyletype="buttons"category="Questions"width="12"title="Question border line style"options="solid|dotted|dashed"optionlabels="Solid|Dotted|Dashed"parent="questionborder">solid</questionborderstyle>
<questionborderradiusTLtype="duration"category="Questions"width="12"title="Border radius top left"parent="questionborder">5px</questionborderradiusTL>
<questionborderradiusTRtype="duration"category="Questions"width="12"title="Border radius top right"parent="questionborder">5px</questionborderradiusTR>
<checkboxcolortype="colorpicker"category="Questions"width="12"title="Checkbox/radiobutton color (when checked)"options="on|off"optionlabels="Yes|No">#ff005f</checkboxcolor>
<!-- Prompt N: listing order swapped — "In header" FIRST, then "Under header".
The stored value semantics are unchanged (in|under); the default stays "under". -->
<progressbarpositiontype="buttons"category="Progress"width="6"title="Position of the progress bar"options="in|under"optionlabels="In header|Under header">under</progressbarposition>
<navbarfontcolortype="colorpicker"category="Colors"width="12"title="Menu item text color in the top bar (should contrast with the header background color)"options="on|off"optionlabels="Yes|No">#444444</navbarfontcolor>
<progressbarbackgroundcolortype="colorpicker"category="Colors"width="12"title="Progress bar background color"options="on|off"optionlabels="Yes|No">#eeeeee</progressbarbackgroundcolor>
<progressbarcolortype="colorpicker"category="Colors"width="12"title="Progress bar color"options="on|off"optionlabels="Yes|No">#5e1c64</progressbarcolor>
<progressbarfontcolortype="colorpicker"category="Colors"width="12"title="Progress bar font color"options="on|off"optionlabels="Yes|No">#ffffff</progressbarfontcolor>
<!-- Open source fonts bundled with this theme itself: font files in files/fonts/, @font-face + generic .font-<value> rules in css/fonts.css. See files/fonts/README.md (English) for how to add your own font here. -->
<fontsizetype="buttons"category="Fonts"width="12"title="Base font size"options="14px|16px|18px|20px"optionlabels="Small (14px)|Normal (16px)|Large (18px)|Extra large (20 px)">16px</fontsize>
- <el>textcolor (dropdown): text color mode for that element —
default|primary|secondary|other (default "default" = the body font
color fontcolor). Resolved to an inline style="color: …" in the views.
- <el>textcolorcustom (colorpicker): only visible when <el>textcolor
= "other" (parent show-value "other"). -->
<headerfonttype="fontselect"category="Fonts"width="4"title="Font for the header / top menu">base</headerfont>
<headertextcolortype="dropdown"category="Fonts"width="12"title="Text color for the header / top menu"options="default|primary|secondary|other"optionlabels="Default font color|Primary color|Secondary color|Other…">default
<dropdownoptions>
<optionvalue="default">Default font color</option>
<optionvalue="primary">Primary color</option>
<optionvalue="secondary">Secondary color</option>
<optionvalue="other">Other…</option>
</dropdownoptions></headertextcolor>
<headertextcolorcustomtype="colorpicker"category="Fonts"width="12"title="Custom text color for the header / top menu"parent="headertextcolor">#444444</headertextcolorcustom>
<progressbarfonttype="fontselect"category="Fonts"width="4"title="Font for the progress bar">base</progressbarfont>
<progressbartextcolortype="dropdown"category="Fonts"width="12"title="Text color for the progress bar"options="default|primary|secondary|other"optionlabels="Default font color|Primary color|Secondary color|Other…">default
<dropdownoptions>
<optionvalue="default">Default font color</option>
<optionvalue="primary">Primary color</option>
<optionvalue="secondary">Secondary color</option>
<optionvalue="other">Other…</option>
</dropdownoptions></progressbartextcolor>
<progressbartextcolorcustomtype="colorpicker"category="Fonts"width="12"title="Custom text color for the progress bar"parent="progressbartextcolor">#444444</progressbartextcolorcustom>
<questiontitlefonttype="fontselect"category="Fonts"width="4"title="Font for question titles">base</questiontitlefont>
<questiontitletextcolortype="dropdown"category="Fonts"width="12"title="Text color for question titles"options="default|primary|secondary|other"optionlabels="Default font color|Primary color|Secondary color|Other…">default
<dropdownoptions>
<optionvalue="default">Default font color</option>
<optionvalue="primary">Primary color</option>
<optionvalue="secondary">Secondary color</option>
<optionvalue="other">Other…</option>
</dropdownoptions></questiontitletextcolor>
<questiontitletextcolorcustomtype="colorpicker"category="Fonts"width="12"title="Custom text color for question titles"parent="questiontitletextcolor">#444444</questiontitletextcolorcustom>
<answersfonttype="fontselect"category="Fonts"width="4"title="Font for answers and help texts">base</answersfont>
<answerstextcolortype="dropdown"category="Fonts"width="12"title="Text color for answers and help texts"options="default|primary|secondary|other"optionlabels="Default font color|Primary color|Secondary color|Other…">default
<dropdownoptions>
<optionvalue="default">Default font color</option>
<optionvalue="primary">Primary color</option>
<optionvalue="secondary">Secondary color</option>
<optionvalue="other">Other…</option>
</dropdownoptions></answerstextcolor>
<answerstextcolorcustomtype="colorpicker"category="Fonts"width="12"title="Custom text color for answers and help texts"parent="answerstextcolor">#444444</answerstextcolorcustom>
<grouptitlefonttype="fontselect"category="Fonts"width="4"title="Font for group titles">base</grouptitlefont>
<grouptitletextcolortype="dropdown"category="Fonts"width="12"title="Text color for group titles"options="default|primary|secondary|other"optionlabels="Default font color|Primary color|Secondary color|Other…">default
<dropdownoptions>
<optionvalue="default">Default font color</option>
<optionvalue="primary">Primary color</option>
<optionvalue="secondary">Secondary color</option>
<optionvalue="other">Other…</option>
</dropdownoptions></grouptitletextcolor>
<grouptitletextcolorcustomtype="colorpicker"category="Fonts"width="12"title="Custom text color for group titles"parent="grouptitletextcolor">#444444</grouptitletextcolorcustom>
<groupdescriptionfonttype="fontselect"category="Fonts"width="4"title="Font for group descriptions">base</groupdescriptionfont>
<groupdescriptiontextcolortype="dropdown"category="Fonts"width="12"title="Text color for group descriptions"options="default|primary|secondary|other"optionlabels="Default font color|Primary color|Secondary color|Other…">default
<dropdownoptions>
<optionvalue="default">Default font color</option>
<optionvalue="primary">Primary color</option>
<optionvalue="secondary">Secondary color</option>
<optionvalue="other">Other…</option>
</dropdownoptions></groupdescriptiontextcolor>
<groupdescriptiontextcolorcustomtype="colorpicker"category="Fonts"width="12"title="Custom text color for group descriptions"parent="groupdescriptiontextcolor">#444444</groupdescriptiontextcolorcustom>
<buttonsfonttype="fontselect"category="Fonts"width="4"title="Font for the buttons (Previous/Next/Submit)">base</buttonsfont>
<buttonstextcolortype="dropdown"category="Fonts"width="12"title="Text color for the buttons (Previous/Next/Submit)"options="default|primary|secondary|other"optionlabels="Default font color|Primary color|Secondary color|Other…">default
<dropdownoptions>
<optionvalue="default">Default font color</option>
<optionvalue="primary">Primary color</option>
<optionvalue="secondary">Secondary color</option>
<optionvalue="other">Other…</option>
</dropdownoptions></buttonstextcolor>
<buttonstextcolorcustomtype="colorpicker"category="Fonts"width="12"title="Custom text color for the buttons (Previous/Next/Submit)"parent="buttonstextcolor">#444444</buttonstextcolorcustom>
<questiontitlefontsizetype="buttons"category="Fonts"width="6"title="Question title font size"options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px"optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</questiontitlefontsize>
<questiontitlefontweighttype="buttons"category="Fonts"width="6"title="Question title font weight"options="400|700"optionlabels="Normal|Bold">700</questiontitlefontweight>
<grouptitlefontsizetype="buttons"category="Fonts"width="6"title="Group title font size"options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px"optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">2.0rem</grouptitlefontsize>
<grouptitlefontweighttype="buttons"category="Fonts"width="6"title="Group title font weight"options="400|700"optionlabels="Normal|Bold">700</grouptitlefontweight>
<groupdescriptionfontsizetype="buttons"category="Fonts"width="6"title="Group description font size"options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px"optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</groupdescriptionfontsize>
<groupdescriptionfontweighttype="buttons"category="Fonts"width="6"title="Group description font weight"options="400|700"optionlabels="Normal|Bold">400</groupdescriptionfontweight>
</options>
<!-- Here datas about how LimeSurvey should load the theme -->
<engine>
<!-- core: use core options view file, custom: use customized options.twig view file -->
<!-- If empty, bootstrap css/js files will not be loaded. In the future, we may have more engines, like foundation -->
<cssframework>
<name>bootstrap</name>
</cssframework>
<!-- Path of the views files (can be different than views -->
<viewdirectory>views</viewdirectory>
<!-- Asset manager will copy the whole theme directory to tmp. So it's possible to refer any file in the files directory in CSS via relative path (e.g: '../files/foo.jpg') -->
<filesdirectory>files</filesdirectory>
<!-- Here, you can publish packages set as third party extensions in application/config/vendor or application/config/package -->
<!-- If bootstrap is registered as a css framework, it will be loaded first -->
<descriptiontype="data"twig="on"><![CDATA[<p>{{ gT('This is a sample survey description. It could be quite long.') }}</p><p>{{ gT("But this one isn't.") }}<p>]]></description>
<welcometype="data"twig="on"><![CDATA[<p>{{ gT('Welcome to this sample survey')}} <p> <p> {{ gT('You should have a great time doing this') }} <p> ]]></welcome>
<therearexquestionstype="data"twig="on"><![CDATA[gT('There is 2 question in this survey'])]]></therearexquestions>
<datasecurity_noticetype="data"twig="on"><![CDATA[ {{ gT("Your privacy policy text is shown here.") }} ]]></datasecurity_notice>
</survey>
<grouptype="core">
<nametype="data"twig="on"><![CDATA[ {{ gT("Group 1: The first lot of questions") }} ]]></name>
<descriptiontype="data"twig="on"><![CDATA[ {{ gT("This group description is fairly vacuous, but quite important.") }} ]]></description>
</group>
<question_1type="core">
<codetype="data">'Q1 '</code>
<texttype="data"twig="on"><![CDATA[ {{ gT("How many roads must a man walk down?") }} ]]></text>
<valid_messagetype="data"twig="on"><![CDATA[ <div id="vmsg_4496_num_answers" class="em_num_answers emtip error"><span class="fa fa-exclamation-circle" aria-hidden="true"></span> {{ gT("Choose one of the following answers") }} </div> ]]></valid_message>
</question_1>
<question_2type="core">
<codetype="data">'Q2 '</code>
<texttype="data"twig="on"><![CDATA[ {{ gT("Please explain something in detail:") }} ]]></text>
<valid_messagetype="data"twig="on"><![CDATA[<div id="vmsg_4496_num_answers" class="em_num_answers emtip error"><span class="fa fa-exclamation-circle" aria-hidden="true"></span> {{ gT("Hint when response is not valid") }} </div> ]]></valid_message>
</question_2>
<assessmentstype="core">
<nametype="data"twig="on"><![CDATA[ {{ gT("Welcome to the Assessment") }} ]]></name>
<messagetype="data"twig="on"><![CDATA[ {{ gT("You got {TOTAL} points out of 3 possible points.") }} ]]></message>
</assessments>
<!-- This is an example to show you how to add your custom screen in the theme editor with custom values -->
<!-- The name of the array inside aSurveyInfo that feed your twig view is specified as "array-name". If you check quotas.twig, you'll notice the main variable is aSurveyInfo.aQuotas -->
<!-- Notice that the data you pass here are simple. You can't pass complex arrays inside the array, only key => value pairs.-->
<quotastype="custom"arrayName="aQuotas">
<sMessagetype="data"twig="on"><![CDATA[ {{ gT("Sorry your responses have exceeded a quota on this survey.") }} ]]></sMessage>