View Issue Details

IDProjectCategoryView StatusLast Update
14228Feature requests[All Projects] Theme editorpublic2018-11-08 18:57
ReporterDenisChenuAssigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary14228: Theme + Question template need more information
Description

We need a lot more information than this currently available (and we have some that seem not needed).

For example : we don't have : current radix (see https://github.com/LimeSurvey/LimeSurvey/pull/1164), or current core question attribute.
I think too it can be interesting to have some global settings : sitename, adminname, adminemail (for example : for auto title).

Additional Information

In theme editor : we can set a value an use it in included twig , but not in questin part since this one is loaded oit of twig system.
It can be great to include totally (but long work) in twig.

For starting : i think we must call only one time answers.twig , and answers.twig call his row with existing information.
Then https://github.com/LimeSurvey/LimeSurvey/pull/1164/files#diff-a8124ae5316979e6a5f20714ce8a3968R21 can be set one time and not at each row (for example).

And question template have aAnswers + aSubQuestions (currently i don't know if they have it : then can not really do a question template with multiple answer really hacked (example : change order of subquestion).

TagsNo tags attached.

Relationships

related to 13516 assignedLouisGac Bug reports Cannot access localized (i18n) values for a custom question attribute 

Activities

DenisChenu

DenisChenu

2018-11-07 16:40

developer   ~49579

Last edited: 2018-11-07 16:40

View 2 revisions

I think need :
Current situation of the page : language (it's in surveyInfo, but really this array is a mess)
Current situation on instance : sitename, adminname, adminemail for starting
Current oQuestion with current language + oSubquestions with current lmanguage + oAnswers with current language
Current attribute with current language (no need to test utf8, for example attribute.other_replace_text directly (this a must have for core too))
Current oGroup with language

Issue History

Date Modified Username Field Change
2018-11-07 16:35 DenisChenu New Issue
2018-11-07 16:40 DenisChenu Additional Information Updated View Revisions
2018-11-07 16:40 DenisChenu Note Added: 49579
2018-11-07 16:40 DenisChenu Note Edited: 49579 View Revisions
2018-11-08 18:57 DenisChenu Relationship added related to 13516