View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
08001Bug reportsSurvey editingpublic2013-11-27 17:00
ReporterDenisChenu Assigned Tosammousa  
PrioritynormalSeverityfeature 
Status closedResolutionno change required 
Product Version2.05 RC 
Target Version2.05+ 
Summary08001: Can not replace css and js file in template
Description

After https://github.com/LimeSurvey/LimeSurvey/commit/f26db5ac394c3765bbf2d3c2b44186970966107f

We can not replace js and css file included by js and css from template. Before this one, we can and it's a great function.

Additional Information

Maybe:
Add a SurveyRuntimeHelper function :
registerCssfile and registerJSfile

Is the best solution.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)131712
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2013-07-13 15:55

developer   ~25790

See Feature request http://bugs.limesurvey.org/view.php?id=7387#c25359

sammousa

sammousa

2013-08-16 12:19

reporter   ~26006

http://www.yiiframework.com/doc/api/1.1/CClientScript#registerScriptFile-detail

You can actually replace / overwrite js by including them after the title tag.
Shnoulle, let me know if that is acceptable or what kind of alternative you would prefer.

DenisChenu

DenisChenu

2013-08-22 11:28

developer   ~26045

We can allways replace css and JS in template.css or template.js (and i look to have too ability to replace EM js too). But actually, in some survey js and css file take 70% or more of webpage sizes.

It's still a performance issue.

c_schmitz

c_schmitz

2013-10-11 12:20

administrator   ~26717

I think this ability should be restored because otherwise it is a regression.

c_schmitz

c_schmitz

2013-10-29 22:01

administrator   ~27017

Lets discuss this together in IRC asap.

Issue History

Date Modified Username Field Change
2013-07-12 20:02 DenisChenu New Issue
2013-07-12 20:02 DenisChenu Status new => assigned
2013-07-12 20:02 DenisChenu Assigned To => sammousa
2013-07-13 15:55 DenisChenu Note Added: 25790
2013-07-16 17:56 DenisChenu Changeset attached => LimeSurvey 2.05 222241eb
2013-07-16 17:56 DenisChenu Changeset removed LimeSurvey 2.05 222241eb =>
2013-08-16 12:19 sammousa Note Added: 26006
2013-08-16 12:19 sammousa Status assigned => feedback
2013-08-22 11:28 DenisChenu Note Added: 26045
2013-08-22 11:28 DenisChenu Status feedback => assigned
2013-10-11 12:20 c_schmitz Note Added: 26717
2013-10-29 22:01 c_schmitz Note Added: 27017
2013-11-22 11:28 c_schmitz Target Version => 2.05+
2013-11-27 16:49 sammousa Status assigned => resolved
2013-11-27 16:49 sammousa Resolution open => no change required
2013-11-27 17:00 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing