Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 3 person(s).
 18
IDProjectCategoryView StatusLast Update
18895Bug reportsTheme editorpublic2023-09-18 13:59
ReporterDenisChenu Assigned To 
PrioritynoneSeveritypartial_block 
Status confirmedResolutionopen 
Product Version5.6.x 
Summary18895: No way to add textarea with core config.xml
Description

There are no textarea available for core config.xml

Steps To Reproduce

Steps to reproduce

Try to add a textarea via options.xml

Expected result

Have a way : type='text' rows='4' OR type='textarea'

Actual result

No way

TagsNo tags attached.
Bug heat18
Complete LimeSurvey version number (& build)5.6.25 and 6.1.3
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

related to 18880 ready for code reviewp_teichmann Unable to add imagefile except brandlogofile and backgroundimagefile in option 
related to 18894 ready for code reviewollehar Not able to add theme option text input 

Activities

Mazi

Mazi

2023-09-12 09:35

updater   ~76954

@DenisChenu, we are using a textarea for defining the template footer details at our themes via a theme option. That works fine using this code:

OPTIONS.TWIG:
<div class='row'>
<div class='col-sm-12'>
<div class='panel panel-default'>
<div class='panel-heading'>{{ gT("Footer") }}</div>
<div class='panel-body'>
<div class='form-group row'>
<label for='simple_edit_options_footer' class='control-label'>{{ gT("Footer text/copyright (HTML links supported)") }}</label>
<div class="input-group">
<textarea rows="5" cols="200" data-inheritvalue="{{oParentOptions.footer | escape}}" name="footer" class="selector_option_value_field selector__color-picker form-control simple_edit_options_footer" data-id="footer"></textarea>
</div>
</div>
</div>
</div>
</div>
</div>

CONFIG.XML:
<footer>© Company name</footer>

DenisChenu

DenisChenu

2023-09-12 10:32

developer   ~76955

Last edited: 2023-09-12 10:33

In option.twig : yes, but not by config.xml only.

I mean : i already have a options.twig : https://gitlab.com/SondagesPro/SurveyThemes/skelvanilla/-/tree/master/options?ref_type=heads
But if i want to remove it : need toi update core.

Update the description : options.xml

Mazi

Mazi

2023-09-12 10:53

updater   ~76956

You are right, at config.xml this is missing. I have adjusted the ticket title since it was mentioning options.xml.

Mazi

Mazi

2023-09-12 10:54

updater   ~76957

@gabrieljenik, I hope you don't mind if we assign this one to you as well since this is also affecting setting theme options at config.xml so this is similar to your tickets
https://bugs.limesurvey.org/view.php?id=18880
https://bugs.limesurvey.org/view.php?id=18894

Mazi

Mazi

2023-09-13 15:26

updater   ~76990

@DenisChenu, we already have a solution for text inputs at https://bugs.limesurvey.org/view.php?id=18894. Would you be able to extend this for textareas as well? I think we really need this feature for LS 6.x templates.

Mazi

Mazi

2023-09-18 13:40

updater   ~77110

@ollehar: This issue is confirmed, but what are the next steps for fixing it? We already have a solution for text inputs at https://bugs.limesurvey.org/view.php?id=18894. Can we add support for textareas in a similar way?

ollehar

ollehar

2023-09-18 13:59

administrator   ~77115

Hm I'm not in the application team anymore, maybe ping @p_teichmann?

Issue History

Date Modified Username Field Change
2023-06-19 08:24 DenisChenu New Issue
2023-06-19 08:24 DenisChenu Relationship added related to 18894
2023-06-19 08:24 DenisChenu Relationship added related to 18880
2023-06-19 10:37 tibor.pacalat Bug heat 0 => 6
2023-08-25 00:51 guest Bug heat 6 => 12
2023-09-12 09:35 Mazi Note Added: 76954
2023-09-12 09:35 Mazi Bug heat 12 => 14
2023-09-12 10:32 DenisChenu Note Added: 76955
2023-09-12 10:32 DenisChenu Bug heat 14 => 16
2023-09-12 10:33 DenisChenu Summary No way to add textarea with core options.twig => No way to add textarea with core options.xml
2023-09-12 10:33 DenisChenu Description Updated
2023-09-12 10:33 DenisChenu Steps to Reproduce Updated
2023-09-12 10:33 DenisChenu Note Edited: 76955
2023-09-12 10:52 Mazi Summary No way to add textarea with core options.xml => No way to add textarea with core config.xml
2023-09-12 10:52 Mazi Description Updated
2023-09-12 10:53 Mazi Note Added: 76956
2023-09-12 10:53 Mazi Assigned To => gabrieljenik
2023-09-12 10:53 Mazi Status new => assigned
2023-09-12 10:54 Mazi Note Added: 76957
2023-09-13 14:36 gabrieljenik Assigned To gabrieljenik =>
2023-09-13 14:36 gabrieljenik Status assigned => confirmed
2023-09-13 15:26 Mazi Note Added: 76990
2023-09-18 13:40 Mazi Note Added: 77110
2023-09-18 13:59 ollehar Note Added: 77115
2023-09-18 13:59 ollehar Bug heat 16 => 18