Welcome to the LimeSurvey Community Forum

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

<style>-Tags in Quellcode der jeweiligen Frage

  • IMVR_ls
  • IMVR_ls's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 months 2 weeks ago #252065 by IMVR_ls
Bitte helfen Sie uns, Ihnen zu helfen und füllen Sie folgende Felder aus:
Ihre LimeSurvey-Version: Version 5.6.43
Eigener Server oder LimeSurvey-Cloud: Lime Survey-Cloud
Genutzte Designvorlage: extends_fruity_benutzerdefiniert
==================
Hallo zusammen,

ich möchte gerne bei einzelnen Fragen im Quellcode-Fenster den CSS-Code über <style>-tags verändern:
<style>
.question-container {
  margin-bottom: 0px;
}
</style>
 

Leider ändert sich aber nichts in der Darstellung und wenn ich aus der Frage raus gehe, z.B. eine andere Frage bearbeite und dann wieder zu der Frage zurückkehre, ist auch der Code verschwunden/gelöscht (gespeichert hatte ich).

Weiß jemand, woher dieses Problem kommt und wie ich es lösen kann?

Vielen Dank im Voraus!

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 2 weeks ago #252068 by Joffm
Hast Du evtl. keine Rechte dafür?
Ist es Deine eigene Installation oder bist Du ein Benutzer unter mehreren?

Joffm 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: IMVR_ls

Please Log in to join the conversation.

  • IMVR_ls
  • IMVR_ls's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 months 2 weeks ago #252069 by IMVR_ls
Hallo Joffm,

ich bin ein Benutzer unter mehreren, dachte aber, dass ich alle Rechte habe. Ist das nur dem Administrator möglich bzw. wo könnte ich dass den überprüfen?

Danke dir

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 2 weeks ago #252073 by Joffm
Wenn Du kannst, schau einfach in "Konfiguration / Global / Sicherheit" nach, wie der XSS-Filter eingestellt ist.
Wenn Du dies nicht kannst (weil der Button gar nicht vorhanden ist), bist Du schon ein wenig "kastriert". 
Frag den admin.

Ich habe es gerade einmal in der bei der LimeSurvey gehosteten Version getestet.
Alles ist in Ordnung.

Joffm

 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: IMVR_ls

Please Log in to join the conversation.

  • IMVR_ls
  • IMVR_ls's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 months 2 weeks ago #252074 by IMVR_ls
Hallo Joffm,

die Einstellungen sehen so aus:
 
Welche sollte ich abändern?

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252078 by Joffm
Dann bist Du wohl kein "superadmin"?

Dann setze den XSS-Filter auf "Aus".
Allerdings bedenke: Dieser Filter ist global: Also dann ist er für alle Benutzer ausgeschaltet.
Irgendjemand wird sich wohl etwas dabei gedacht haben, diesen Filter einzuschalten
Du musst also den Benutzern soweit vertrauen, dass hier niemend versucht, mit "intelligenter Gewalt" herumzuspielen.

Schau auch hier:
[url] manual.limesurvey.org/Global_settings/de#Sicherheit [/url]
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: IMVR_ls

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252110 by holch

Irgendjemand wird sich wohl etwas dabei gedacht haben, diesen Filter einzuschalten


Oder auch nicht. :-)

Gerne wird sowas mal eingeschalten ohne wirklich zu wissen, welche Folgen das hat.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: IMVR_ls

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 1 week ago #252129 by Joffm
Stimmt, hast Du auch wieder Recht

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
4 months 4 weeks ago #252686 by tammo
I am sorry to break in in English, my apologies. 

I find this setting very coarse/rough: would it not be better to allow XSS (is that the same as allowing Javascript) to certain users (user setting).

And would it be better to allow certain tags and disallow other tags: for example:

allow: <style>, <font>
disallow: <script>

And find a way to add this globally and/or per user/user group.


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

Moderators: Joffm

Lime-years ahead

Online-surveys for every purse and purpose