View Issue Details

This bug affects 2 person(s).
 12
IDProjectCategoryView StatusLast Update
19846Bug reportsTheme editorpublic2024-11-21 16:47
ReporterOMdev Assigned Togabrieljenik  
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version6.6.x 
Summary19846: The major things in the footer need to be fixed.
Description
  1. The footer HTML cannot be loaded when saved in config.xml. Since there is no HTML tag, it will only display if it is included within an HTML part, such as an <a> tag. Therefore, it will not appear in the survey footer when accessing the link. but in the survey theme options, it is working fine. (see screenshot 1).

  2. We have added a link in the survey theme options. For example, if we add a tag like <a href="www.google.com">Google</a> in the footer, it appears to work. but the link www.google.com is automatically prefixed with https://ls6temp.my-survey.host/index.php/, resulting in https://ls6temp/index.php/www.google.com, which breaks the link (see screenshot 2).

Steps To Reproduce

Steps to reproduce
Save a tag, for example, <a href="www.google.com">google</a>, in the footer option in config.xml. It does not display correctly when we access the survey link. However, when we save the same tag (<a href="www.google.com">google</a>) in the survey theme options, it saves and displays properly, but it prefixes the link with https://ls6temp.my-survey.host/index.php/, which breaks the link. This is the issue.

Expected result
The <a> tag or any other HTML tag should be saved in config.xml as default footers, and we should have the option to add privacy links or other elements.

Actual result
The HTML tag does not work properly in config.xml—it does not display when we access the survey link, and the footer is empty. However, if we save it in the survey theme options, it works, but the prefix https://ls6temp/index.php/ is added.

TagsNo tags attached.
Attached Files
ss3.png (12,988 bytes)   
ss3.png (12,988 bytes)   
ss1.png (54,392 bytes)   
ss1.png (54,392 bytes)   
ss2.png (38,765 bytes)   
ss2.png (38,765 bytes)   
Bug heat12
Complete LimeSurvey version number (& build)Version 6.8.1+241120
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionNA
Server OS (if known)
Webserver software & version (if known)
PHP VersionNA

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2024-11-21 10:44

updater   ~81481

@tibor.pacalat: I can reporduce this. Can you assign it to a developer? This fully breaks surveys if there is HTML within a theme option.

tibor.pacalat

tibor.pacalat

2024-11-21 11:20

administrator   ~81482

Sure, I will do that.

DenisChenu

DenisChenu

2024-11-21 16:17

developer   ~81484

You need to add the HTTPS before your url :

if we save it in the survey theme options, it works, but the prefix

No, it's the normal way if you don't add https : <a href="https://google.fr">

DenisChenu

DenisChenu

2024-11-21 16:17

developer   ~81485

@Mazi : you try with CDATA ?

Mazi

Mazi

2024-11-21 16:31

updater   ~81487

@DenisChenu, we haven't tried that. How exactly should the syntax look like

DenisChenu

DenisChenu

2024-11-21 16:47

developer   ~81490

<description><![CDATA[<strong>LimeSurvey Bootstrap Vanilla Survey Theme with Accessibility and Options</strong><br>Base on vanilla theme, usage of more aria, fix some role and aria from core.<br>Allow usage of variations, only two variation in this lignt version.]]></description>

But if i don't make error i try with style in skelvanilla but it don't work
https://gitlab.com/SondagesPro/SurveyThemes/skelvanilla/-/blob/master/config.xml?ref_type=heads#L21

Issue History

Date Modified Username Field Change
2024-11-21 10:39 OMdev New Issue
2024-11-21 10:39 OMdev File Added: ss3.png
2024-11-21 10:39 OMdev File Added: ss1.png
2024-11-21 10:39 OMdev File Added: ss2.png
2024-11-21 10:44 guest Bug heat 0 => 6
2024-11-21 10:44 Mazi Note Added: 81481
2024-11-21 10:44 Mazi Bug heat 6 => 8
2024-11-21 11:20 tibor.pacalat Note Added: 81482
2024-11-21 11:20 tibor.pacalat Bug heat 8 => 10
2024-11-21 11:21 tibor.pacalat Assigned To => gabrieljenik
2024-11-21 11:21 tibor.pacalat Status new => assigned
2024-11-21 16:17 DenisChenu Note Added: 81484
2024-11-21 16:17 DenisChenu Bug heat 10 => 12
2024-11-21 16:17 DenisChenu Note Added: 81485
2024-11-21 16:31 Mazi Note Added: 81487
2024-11-21 16:47 DenisChenu Note Added: 81490