Welcome to the LimeSurvey Community Forum

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

How to keep all theme setting after upgrading?

  • majidr
  • majidr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #201550 by majidr
Hi,

I extended the bootswatch theme and did many modification on it such as logo, etc. I also did some changes in admin themes such as changing favicon. However, after upgrade, they all were reset and all of my icons and setting are gone.
I have two questions; first is there something like child theme (like the one in wordpress) that after upgrading we don't lose setting ? second one, when I create an extended theme, why there is no such a folder in theme folder ? I mean only main themes have folder and extended themes do not create a separate folder, right ? I'm usinig the latest version (4.2)

Thanks
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201551 by tpartner
Replied by tpartner on topic How to keep all theme setting after upgrading?
By definition all extended survey themes are child themes. You can set default theme options for them in the theme editor interface.

All custom themes are in the /upload/ directory so they will not be overwritten when updating.

Extended survey themes reside in /upload/themes/survey/.

Custom admin themes reside in /upload/themes/admintheme/.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu, majidr
The topic has been locked.
  • majidr
  • majidr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #201566 by majidr
Thank you for your response.
I found the folders. However, I'm wondered how I can extend an admin theme?
For instant I want to make some modification on " Bay of Many" theme. There isn't and extend option near it. So, should I copy all it's folder to /upload/themes/admintheme/ . Also. how can I activate my custom admin theme?
Thanks you
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #201568 by Joffm
Yes, you copy it to /upload/themes/admintheme/ with different name.
Here you change it to your needs.
Don't forget to adapt the "config.xml" (name).

After a restart you will find this new theme in your configuration.



Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu, majidr
The topic has been locked.
  • majidr
  • majidr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #201577 by majidr
Thanks Joffm. It worked :)
The topic has been locked.
  • majidr
  • majidr's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #201589 by majidr
one more question, how can I keep favicon unchanged after upgrade? It will be reset after every update..
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose