-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.xml
79 lines (67 loc) · 3.66 KB
/
config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="UTF-8"?>
<!--
(¯`·._.·(¯`·._.· Vanilla Theme Manifest ·._.·´¯)·._.·´¯)
Base configuration for Vanilla Theme.
The content of this file is imported into DB when you install the template.
-->
<config>
<!-- Those metadata are displayed in the theme configuration page. -->
<metadata>
<name>tfr_responsive</name>
<title>TFR Responsive retro</title>
<creationDate>26/02/2019</creationDate>
<author>admin</author>
<authorEmail>tammo.terhark@toolsforresearch.com</authorEmail>
<authorUrl>https://www.toolsforresearch.com</authorUrl>
<copyright>Copyright (C) 2019 Tools for Research, all rights reserved.</copyright>
<license>GNU General Public License version 2 or later</license>
<version>3.0</version>
<apiVersion>3</apiVersion>
<description><![CDATA[<strong>TFR Responsive retro theme</strong><br>TFR's theme as it appeared in 2016, but now updated for LimeSurvey 3.x]]></description>
<last_update>2019-03-05 22:01:30</last_update>
<extends>vanilla</extends></metadata>
<!--
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
-->
<files>
<css>
<add>css/base.css</add>
<add>css/ajaxify.css</add>
<add>css/theme.css</add>
<add>css/custom.css</add>
</css>
<js>
<add>scripts/theme.js</add>
<add>scripts/ajaxify.js</add>
<add>scripts/custom.js</add>
</js>
<print_css>
<add>css/print_theme.css</add>
</print_css>
</files>
<!-- You can add here any option you want. It will be available in twig file via aSurveyInfo.options.youroptionname -->
<!-- eg: Ajaxmode: will be available with aSurveyInfo.options.ajaxmode -->
<options>
<ajaxmode>on</ajaxmode>
<animatebody>off</animatebody>
<hideprivacyinfo>off</hideprivacyinfo>
<container>on</container>
<bodyanimation>fadeInRight</bodyanimation>
<brandlogo>on</brandlogo>
<brandlogofile>./files/logo.png</brandlogofile>
<font>noto</font>
<showpopups>1</showpopups>
</options>
<!-- Here datas about how LimeSurvey should load the theme -->
</config>