Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Search Results (Searched for: html)

  • DenisChenu
  • DenisChenu's Avatar
Today 14:26 - Today 14:36
> The demo files you find in the folder "demo" of the plugin.

No :) In the plugin configuration :) (need update plugin )
 

> Short: With limeMpdf you can use the bootstrap options.

Long :
  1. mpdf is really more powerfull than tcpdf on HTML support .
  2. LimeMpdf allow you to have your own header/footer/content etc …
  3. LimeMPDF include some dedicated tag for example : in the demo survey : i use <radio> and <radio-checked> tag
  • tpartner
  • tpartner's Avatar
Yesterday 19:30
I have removed my name from your script credit - I did not code the randomization.

If you want to duplicate the headers at the bottom of the table, try this after your randomization. (it will result in slightly invalid HTML)

Code:
$('table.subquestion-list', thisQuestion).append($('table.subquestion-list thead', thisQuestion).clone());
  • DenisChenu
  • DenisChenu's Avatar
Yesterday 13:33
Replied by DenisChenu on topic Import question using LImeSurvey API
You can export such lsq file from any limesurvey, think it's the best solution (dobne for this)
Your write import question
Else you have set_question_properties

And PLEASE ! AGAIN : stackoverflow.com/help/how-to-ask
  • DenisChenu
  • DenisChenu's Avatar
23 Apr 2024 08:18
Replied by DenisChenu on topic Listes de pays ou autres
  • DenisChenu
  • DenisChenu's Avatar
22 Apr 2024 10:34
Replied by DenisChenu on topic Condition sur l'affichage du bouton Envoyer
Ce que j'ai déjà fait, c'est ajouter une question affichage de texte dans chaque groupe contenant le bouton Suivant.
Et supprimer tout le code HTML de navigator.twig

Ensuite : tu utilises les conditions pour afficher ou non cette question.
  • Joffm
  • Joffm's Avatar
20 Apr 2024 15:20 - 20 Apr 2024 15:23
Make sure you have the correct synax.
The editor often changes operator signs to HTML entities, like &gt;, &lt;, &amp;, etc

And of course it has to be on a different page.
How else should it work if the script runs "$(document).on('ready pjax:scriptcomplete')?
Meaning it runs when the page is loaded, before you enter anything.
 
  • tpartner
  • tpartner's Avatar
17 Apr 2024 19:15 - 17 Apr 2024 19:18
Replied by tpartner on topic Adjust the text for 'expired survey' screen
Something like this in layout_errors.twig:

Code:
{# We register a specific css file for that layout. #}
{{ registerTemplateCssFile('css/errors.css') }}
{% set aError     = aSurveyInfo.aError    %}
 
 
{##### CUSTOM ERRORS ####}
{% set customErrorTitle = aError.title %}
{% set customErrorMessage = aError.message %}
{% if aError.type == "survey-expiry" %}
    {% set customErrorTitle = '<p class=" text-danger inherit-sizes" role="alert">CUSTOM TITLE</p>' %}
    {% set customErrorMessage = '<p>Custom error message for expired survey!</p>' %}
{% endif %}
 
<!DOCTYPE html>
<html lang="{{ aSurveyInfo.languagecode }}" dir="{{ aSurveyInfo.dir }}"
        class="{{ aSurveyInfo.languagecode }} dir-{{ aSurveyInfo.dir }} {{ aSurveyInfo.class.html }}" {{ aSurveyInfo.attr.html }}
        xmlns="http://www.w3.org/1999/html">
 
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
        <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
 
        <title>
            {% if aError.error %}
                {{ aError.error }}
            {% else %}
                Error {{ aSurveyInfo.surveyls_title }}
            {% endif %}
        </title>
 
        <meta name="generator" content="LimeSurvey http://www.limesurvey.org"/>
        {% if(imageSrc('./files/favicon.ico')) %}
            <link rel="shortcut icon" href="{{ imageSrc('./files/favicon.ico') }}"/>
        {% endif %}
    </head>
 
    <body class="{{ aSurveyInfo.class.body }} lang-{{ aSurveyInfo.languagecode }} {{ surveyformat }}" marginwidth="0"
          marginheight="0" {{ aSurveyInfo.attr.body }}>
    <div class="container">
        <div id="error-card" class="card w-75 mt-6 mb-0 mx-auto">
            <div class="card-body">
                <h2 class="card-title">
                    {% if aError.error %}
                        {{ aError.error }}
                    {% endif %}
                    {{ customErrorTitle }}
                </h2>
                <hr>
                <div class="card-text">{{ customErrorMessage }}</div>
                {% if aError.contact %}
                    {{ aError.contact }}
                {% else %}
                    {{ gT("For further information please contact %s:")|format (aSurveyInfo.admin) }}
                    {% if aSurveyInfo.adminemail %}
                        <br>
                        <a class="card-link" href='mailto:{{ aSurveyInfo.adminemail }}'>{{ aSurveyInfo.adminemail }}</a>
                    {% endif %}
                {% endif %}
                {% if aError.trace is not empty %}
                    <pre>
                            {{ aError.trace }}
                    </pre>
                {% endif %}
            </div>
 
        </div>
    </div>
    {% block footer %}
        {{ include('./subviews/footer/footer.twig') }}
    {% endblock %}
</body>
</html>


 
  • Mazi
  • Mazi's Avatar
12 Apr 2024 15:08
Der Index wird automatisch erstellt und beinhaltet immer alle Gruppen. Da könnte ich mir höchstens vorstellen, per CSS bestimmte Items aus dem Index zu entfernen.

Für die Platzierung oben links musst du das Template anpassen. Das ist etwas tricky und erfordert HTML/CSS Kenntnisse.
  • Mazi
  • Mazi's Avatar
12 Apr 2024 14:55
Meines Wissens gibt es dafür bei den Standardtemplates keine Option. Dafür müsste man das HTML im Template selbst ändern.

Aus diesem Grund haben wir bei unseren Templates ein Setting "Footer" eingebaut, in welches man global sowie auch auf Umfrage-Ebene einen eigenen Footer z. B. mit Details zu Datenschutz und/oder Impressum einbauen kann.
Du kannst dir die Templates ja mal unter survey-consulting.com/product-category/limesurvey-themes/ anschauen.
  • Mazi
  • Mazi's Avatar
12 Apr 2024 09:06
Replied by Mazi on topic shop in limesurvey
The HTML being shown at the admin email is a bug which we reported a few weeks ago and which is already fixed at the latest 6.x releases.
  • StadtAugsburg
  • StadtAugsburg's Avatar
05 Apr 2024 10:05
Darstellungsfehler Bildauswahl Multiple-Choice was created by StadtAugsburg
Bitte helfen Sie uns, Ihnen zu helfen und füllen Sie folgende Felder aus:
Ihre LimeSurvey-Version: [6.5.2+240402]
Eigener Server oder LimeSurvey-Cloud: eigener Linux Server
Genutzte Designvorlage: fruity
==================
Hallo,
ich habe eine Musterumfrage erstellt, damit die Nutzer alle Fragen mal aufgelistet sehen können.
Hier habe ich Probleme mit der Bildauswahl Multiple-Choice Frage, da wird am Bild die HTML Information aus den Anzeigeeinstellungen der Frage mit angezeigt als Text.
Hier der Link zur Umfrage, die Frage ist auf der 3 Seite. [url] befragung.augsburg.de/index.php/623464?lang=de [/url]

Vielen Dank für die Unterstützung.
Viele Grüße





 
  • DenisChenu
  • DenisChenu's Avatar
04 Apr 2024 09:00
There are no issue with LimeSurvey here.

If you try with setenforce 0 and it work review the selinux configuration. Set the good context for the LimeSurvey upload directory.

access.redhat.com/documentation/en-us/re...ations_using-selinux
  • vasyugan
  • vasyugan's Avatar
03 Apr 2024 16:04 - 03 Apr 2024 16:06
Server delivers empty custom.css was created by vasyugan
Please help us help you and fill where relevant:
Your LimeSurvey version:  LimeSurvey Community Edition Version 6.0.0+230405
Own server or LimeSurvey hosting: own
Survey theme/template: bootswatch
==================
I've edited the custom.css file to contain
``
body {
            font-size: 14px;
    }
``
However, when I run the survey that uses this theme,  the server delivers an empty custom.css. That is: I look at the source code, see that the html header contains the line<link rel="stylesheet" type="text/css" href="[url=view-source:https://survey.uferwerk.org/tmp/assets/b66d22d3/css/custom.css]/tmp/assets/b66d22d3/css/custom.css[/url]" />

and when I open the latter, I see a file only containing the following lines:


/******************
User custom CSS

In this file you can add your own custom CSS
It will be loaded last, so you can override any other property. 
Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
Everything I added below is missing.

Why is that? I also switched the theme, saved the survey, switched back. No change.
Displaying 1 - 15 out of 4725 results.

Lime-years ahead

Online-surveys for every purse and purpose