View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
09500Feature requestsPluginspublic2015-03-06 10:19
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
Summary09500: Add ANSWER + QUESTIONHELP + QUESTIONHELPPLAINTEXT to beforeQuestionRender
Description

I think Answer and question help (updatable by admin) must be updatable by beforeQuestionRender

Additional Information

I start dev but not sure if it's a good start point for evolution

1st idea: update SUrveyRunTime to move all question part to the replacement array of template replace : QUESTION are removed from coreReplacement and broke template used elsewhere than question part.

2nd idea: Add a function using redata array in template_replace and return a $aQuestion with all needed var.

TagsNo tags attached.
Bug heat10
Story point estimate
Users affected %

Relationships

has duplicate 09554 closedDenisChenu Feature requests add the possibility to change an answer value with plugin event beforeQuestionRender() 
related to 09494 closedLouisGac Bug reports Section 508 issue with class="hide label" 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-02-28 13:53

developer   ~31736

Problem 1 :
With the new system (1st solution) QID : {QID} - GID : {GID} - SGQ : {SGQ} show QID : - GID : - SGQ : in endpage.pstpl,

Actually show QID : 111 - GID : 1 - SGQ : 12345X1x111

Related Changesets

LimeSurvey: 2.06 1d9b183a

2015-03-05 13:56:51

DenisChenu

Details Diff
New feature 09500: Add ANSWER, QUESTIONHELP and other to beforeQuestionRender plugin event
Dev: Move whole QUestion system to specific function in SurveyRuntimeHelper::getQuestionReplacement
Dev: Actually use array from qanda
Dev: static for quick call by templatereplace : set to non static ?
Affected Issues
09500
mod - application/controllers/admin/templates.php Diff File
mod - application/helpers/SurveyRuntimeHelper.php Diff File
mod - application/helpers/admin/template_helper.php Diff File
mod - application/helpers/common_helper.php Diff File
mod - application/helpers/replacements_helper.php Diff File
mod - application/models/Question.php Diff File

LimeSurvey: 2.06 ac475b89

2015-03-06 09:17:28

DenisChenu

Details Diff
Dev: adding gid information to beforeQuestionRender event
Dev: 09500 child
Affected Issues
09500
mod - application/helpers/SurveyRuntimeHelper.php Diff File

Issue History

Date Modified Username Field Change
2015-02-07 17:19 DenisChenu New Issue
2015-02-28 13:52 DenisChenu Assigned To => DenisChenu
2015-02-28 13:52 DenisChenu Status new => assigned
2015-02-28 13:53 DenisChenu Note Added: 31736
2015-03-03 09:13 DenisChenu Target Version => 2.06+
2015-03-04 19:21 DenisChenu Relationship added related to 09494
2015-03-05 14:57 DenisChenu Changeset attached => LimeSurvey 2.06 1d9b183a
2015-03-05 14:57 DenisChenu Status assigned => closed
2015-03-05 14:57 DenisChenu Resolution open => fixed
2015-03-05 14:57 DenisChenu Fixed in Version => 2.06+
2015-03-06 09:34 DenisChenu Relationship added has duplicate 09554
2015-03-06 10:19 DenisChenu Changeset attached => LimeSurvey 2.06 ac475b89