Welcome to the LimeSurvey Community Forum

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

Theme broken after changing Files JS setting

  • neilsquire
  • neilsquire's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 4 months ago #233951 by neilsquire
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.28.37+221108
Own server or LimeSurvey hosting: Own server
Survey theme/template: AccessibilityPro
==================
I made a change to "Files JS" in the survey options page. After that, the survey theme never loads again even after I undo the change.
Restarting the server does not fix this. Only re-importing the survey and never touching the setting again fixes it.

Here is what I did. Can anyone please tell me what I did wrong?
I went into the theme editor and uploaded the custom JS file under "Other files".
Since I am no longer inheriting the "Files JS" option, I went to the global theme options and copied the "Files JS" JSON values.
Back in the survey's theme options page, I pasted the "Files JS" JSON values and added the JS file I uploaded.
When I save the changes and preview the survey, the theme is now broken.

Please Log in to join the conversation.

  • neilsquire
  • neilsquire's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 4 months ago #233966 by neilsquire
Replied by neilsquire on topic Theme broken after changing Files JS setting
The theme does not break when doing the same changes but for the vanilla theme. Below is a link to the theme having problems.
drive.google.com/file/d/1Fnu5x2i8dGNwbviZ0n65mHalWNEzGpjS/view

I am still not sure why reverting the "Files JS" value back to inherit does not undo the problem.

Please Log in to join the conversation.

  • neilsquire
  • neilsquire's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 4 months ago #233967 by neilsquire
Replied by neilsquire on topic Theme broken after changing Files JS setting
After some troubleshooting, it looks like I need to copy over the "CSS framework CSS" value as well. However, this value reverts back to "inherit" after saving so I need to remember to change it every time.

Does anyone know why I need to change this value as well instead of having it inherit?

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose