View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14603 | Feature requests | Theme editor | public | 2019-03-05 15:08 | 2021-03-07 21:55 |
Reporter | DenisChenu | Assigned To | |||
Priority | none | Severity | feature | ||
Status | closed | Resolution | fixed | ||
Summary | 14603: Add a way to add array of options in config.xml (or elsewhere) | ||||
Description | See https://github.com/LimeSurvey/LimeSurvey/commit/5b974d2557f5b8ecf05d789effbda81b3afdce4a#diff-2d0efa16677c9fc32f5c1a28075e895aR140 : this is related to theme (specific theme) not to core. This 2 part muts be moved to a clean config.xml solution | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Story point estimate | |||||
Users affected % | |||||
Alt solution : Maybe : options can be imported from a twig view in theme ? |
|
Would additional attributes (like "base", "button", "awesome" and "button_awesome"), or any other attributes defined in attributes array, be used only on theme option page for dropdowns? Or does it have some additional purpose? If so, where would those attribute be used? |
|
Currently : i use for a dropdown (with categories) in twig options. The value is for aSurvey.options (template option). I think we can have (in future maybe) some other HTML : radio button value->label , maybe input:number min/max or other htmlOptions ? Maybe somthing in engine : https://github.com/LimeSurvey/LimeSurvey/blob/cab9fff96aa347c22b1f3b50a3e677f003d30a3d/themes/survey/vanilla/config.xml#L84 An idea :
Then : in options.twig : cab be readed via oTemplate.engine.options.animated ? inherited by defaut (engine are not moved to the new config.xml) but an template editor can update it ? |
|
This feature is implemented. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-03-05 15:08 | DenisChenu | New Issue | |
2019-03-05 15:08 | DenisChenu | Status | new => assigned |
2019-03-05 15:08 | DenisChenu | Assigned To | => dominikvitt |
2019-03-05 15:13 | DenisChenu | Note Added: 50776 | |
2019-03-14 11:06 |
|
Note Added: 50973 | |
2019-03-14 11:28 | DenisChenu | Note Added: 50979 | |
2019-03-14 11:29 | DenisChenu | Note Edited: 50979 | |
2019-03-14 11:29 | DenisChenu | Note Edited: 50979 | |
2019-03-14 11:30 | DenisChenu | Note Edited: 50979 | |
2019-03-14 18:33 |
|
Status | assigned => resolved |
2019-03-14 18:33 |
|
Resolution | open => fixed |
2019-03-14 18:33 |
|
Fixed in Version | => 4.0.0dev |
2019-03-14 18:33 |
|
Note Added: 50992 | |
2021-03-07 21:55 | c_schmitz | Status | resolved => closed |