View Issue Details

IDProjectCategoryView StatusLast Update
14228Feature requests[All Projects] Theme editorpublic2019-01-25 10:19
ReporterDenisChenuAssigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary14228: Survey Theme 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 
related to 14282 resolvedDenisChenu Bug reports Language of Survey is set to default in token form 
related to 14449 new Feature requests Question template : unable to make a complete system due to lack of information 

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

DenisChenu

DenisChenu

2018-11-20 14:00

developer   ~49708

oToken : https://github.com/LimeSurvey/LimeSurvey/pull/1175

LouisGac

LouisGac

2018-12-20 12:05

manager   ~50030

really this array is a mess

DenisChenu

DenisChenu

2018-12-20 12:32

developer   ~50035

Yes,

Need too to move out of survey all are not related to survey …

DenisChenu

DenisChenu

2019-01-25 10:19

developer   ~50305

Separation between survey theme and question theme

Then for Survey :

  1. Current situation of the page : what page is shown, what current language
  2. Current instance partial (sitename, adminname, adminemail)
  3. … to complete …

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
2018-11-20 14:00 DenisChenu Note Added: 49708
2018-11-24 11:06 DenisChenu Relationship added related to 14282
2018-12-20 12:05 LouisGac Note Added: 50030
2018-12-20 12:32 DenisChenu Note Added: 50035
2019-01-25 10:08 DenisChenu Summary Theme + Question template need more information => Survey Theme need more information
2019-01-25 10:14 DenisChenu Relationship added related to 14449
2019-01-25 10:19 DenisChenu Note Added: 50305