Welcome to the LimeSurvey Community Forum

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

How do I disable theme variations?

  • mhladun
  • mhladun's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 2 months ago #224689 by mhladun
How do I disable theme variations? was created by mhladun
I have a theme that extends bootswatch which comes loaded with about a dozen theme "variations". I want to disable the ability to apply variations to my theme. What is the best way to achieve this in version 5.2.12?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 2 months ago #224698 by DenisChenu
Replied by DenisChenu on topic How do I disable theme variations?
You have to edit (manually) variation list in config.xml file and to reset the theme after

github.com/LimeSurvey/LimeSurvey/blob/14...uity/config.xml#L679

i think it's the most simple

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: tpartner, mhladun
The topic has been locked.
  • mhladun
  • mhladun's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 2 months ago #224734 by mhladun
Replied by mhladun on topic How do I disable theme variations?
Thanks Denis, commenting out the cssframework node then reseting the theme worked!
Code:
<!--<cssframework type="dropdown" category="Simple options" title="Variations" parent="cssframework">
<dropdownoptions>
<option data-mode="replace" value="css/variations/basic.min.css">Basic Bootstrap</option>
<option data-mode="replace" value="css/variations/cerulean.min.css">Cerulean</option>
...
</dropdownoptions>
</cssframework>-->
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose