View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13365 | Bug reports | Theme editor | public | 2018-02-16 00:00 | 2018-02-19 15:09 |
Reporter | RichieB | Assigned To | |||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.1.x | ||||
Fixed in Version | 3.4.x | ||||
Summary | 13365: custom.css never gets loaded | ||||
Description | When I edit custom.css and clear the asset cache, the custom.css never gets loaded in a survey. Adding the same modification in theme.css work fine. | ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 3.2.0+180206 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Safari + Firefox | ||||
Database type & version | mysql 5.7.21-0ubuntu0.16.04.1 | ||||
Server OS (if known) | Ubuntu 16.04.1 | ||||
Webserver software & version (if known) | apache 2.4.18-2ubuntu3.5 | ||||
PHP Version | 7.0.22-0ubuntu0.16.04.1 | ||||
please, update first to 3.3 and make sure you've taken in account those points: |
|
I am running 3.3.1+180214 and did follow the FAQ. The problem is that custom.css is never loaded in the HTML code. In the theme editor preview the custom.css is loaded but on the actual HTML in a survey it is never referenced nor used. |
|
could please try to uninstall and reinstall the theme from theme list? |
|
Thanks, reinstalling did enable custom.css. However, when I change the variant to Sunset_Orange, custom.css is no longer use. The problem is that the files_css column of the lime_template_configuration table originally says: {"add":["css\/ajaxify.css","css\/animate.css","css\/variations\/sea_green.css","css\/theme.css","css\/custom.css"]} after selecting Sunset_Orange it says: {"add":["css/animate.css","css/ajaxify.css","css/variations/sea_green.css","css/theme.css"]} so it is no longer using custom.css |
|
Oops. that last files_css is of course actually: {"add":["css/animate.css","css/ajaxify.css","css/variations/sunset_orange.css","css/theme.css"]} |
|
ok thank you very much for all those reports:
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=26507 |
|
LimeSurvey: master eba40fdc 2018-02-16 19:26
Details Diff |
Fixed issue 13365: custom.css never gets loaded Fixed issue: some options not loaded on uninheriting the parent theme |
Affected Issues 13365 |
|
mod - application/models/TemplateConfiguration.php | Diff File | ||
mod - themes/survey/fruity/options/options.js | Diff File | ||
mod - themes/survey/fruity/options/options.twig | Diff File | ||
mod - themes/survey/vanilla/options/options.js | Diff File | ||
mod - themes/survey/vanilla/options/options.twig | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-02-16 00:00 | RichieB | New Issue | |
2018-02-16 10:25 |
|
Note Added: 46546 | |
2018-02-16 14:08 |
|
Assigned To | => markusfluer |
2018-02-16 14:08 |
|
Status | new => feedback |
2018-02-16 15:20 | RichieB | Note Added: 46553 | |
2018-02-16 15:20 | RichieB | Status | feedback => assigned |
2018-02-16 15:21 |
|
Note Added: 46554 | |
2018-02-16 15:38 | RichieB | Note Added: 46555 | |
2018-02-16 15:39 | RichieB | Note Added: 46556 | |
2018-02-16 15:53 |
|
Note Added: 46557 | |
2018-02-16 18:25 |
|
Status | assigned => resolved |
2018-02-16 18:25 |
|
Resolution | open => fixed |
2018-02-16 18:25 |
|
Fixed in Version | => 3.3.x |
2018-02-16 18:26 |
|
Changeset attached | => LimeSurvey master eba40fdc |
2018-02-16 18:26 |
|
Note Added: 46570 | |
2018-02-19 15:09 | ollehar | Status | resolved => closed |
2018-02-19 15:09 | ollehar | Fixed in Version | 3.3.x => 3.4.x |