View Issue Details

IDProjectCategoryView StatusLast Update
14228Feature requests[All Projects] Theme editorpublic2019-05-17 08:53
ReporterDenisChenuAssigned To 
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary14228: Survey Theme need more information

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, 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 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.


related to 14202 new Feature requests Readd "column style" css for multiple column but in attribute 
has duplicate 14449 closedDenisChenu Feature requests Question template : unable to make a complete system due to lack of information 
related to 13516 closeddominikvitt Bug reports Cannot access localized (i18n) values for a custom question attribute 
related to 14282 closedDenisChenu Bug reports Language of Survey is set to default in token form 




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



2018-11-20 14:00

developer   ~49708

oToken :



2018-12-20 12:05

manager   ~50030

really this array is a mess



2018-12-20 12:32

developer   ~50035


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



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 …


2019-05-17 08:53

developer   ~51979

@LouisGac : i think i try to fix it in 4.0 , what is your advice :

  1. Send aQuestionAttributes + aQuestionsSubQuestion + aQuestionsAnswers, each as array in App()->twigRenderer->renderQuestion($sView, $aData) always.
  2. Create 3 (or more) twig function getQuestionAttribute($attributeName = null) : only usable in question sending the attribute for current question and current language (all in arry or a single one.

What i want current only : it's because i don't want to reproduce this issue : current survey must allow only data from current survey.

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
2019-05-10 15:33 DenisChenu Relationship deleted related to 14449
2019-05-10 15:33 DenisChenu Relationship added has duplicate 14449
2019-05-10 15:34 DenisChenu Relationship added related to 14202
2019-05-17 08:53 DenisChenu Note Added: 51979