Welcome to the LimeSurvey Community Forum

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

Theme import creates doubles - a bug?

  • krosser
  • krosser's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 2 weeks ago #166737 by krosser
Theme import creates doubles - a bug? was created by krosser
Hey guys,

I exported the Fruity theme to edit it off-line (as it didn't allow me to change css styling) and then imported it back. The system just created 3 new default Fruity themes and now I can't delete the obsolete ones because they are "core" and can't be deleted... It looks like a system bug.

The logos even are the same despite the fact that I have changed them manually.

Any idea how to fix this duplication issue?

I'm using the latest LS 3.22 hosted on LS servers, not installed locally.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 weeks ago #166739 by holch
Replied by holch on topic Theme import creates doubles - a bug?
You should never edit the shipped templates. Always create a copy of the template and then edit this copy. Shipped templates are not allowed to be modified. Copy one and work on the copy.

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

The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 weeks ago #166743 by tpartner
Replied by tpartner on topic Theme import creates doubles - a bug?

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: holch
The topic has been locked.
  • krosser
  • krosser's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 2 weeks ago #166744 by krosser
Replied by krosser on topic Theme import creates doubles - a bug?
Well, I first tried to edit the extended version. It didn't work (I still don't know why).

So I decided to export the theme and edit it offline and reupload it. I thought it would create a new theme as it was modified, but for some reason it kept the original one.

I tried it with Vanilla as well, and it did the same - created a bunch of vanilla themes.

Perhaps it is an issue of naming the zip file for import...

I'm using the latest LS 3.22 hosted on LS servers, not installed locally.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 weeks ago #166745 by tpartner
Replied by tpartner on topic Theme import creates doubles - a bug?
Yes, you need to rename the zip file and also adjust config.xml in that file.

You should be able to manually remove any mistakenly uploaded themes in /upload/themes/survey/.

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: krosser
The topic has been locked.
  • krosser
  • krosser's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 2 weeks ago #166747 by krosser
Replied by krosser on topic Theme import creates doubles - a bug?
Alright, thanks man! Good to know about the path, but unfortunately I'm using it on their servers. So I guess there's no easy way to delete themes.

I'm using the latest LS 3.22 hosted on LS servers, not installed locally.
The topic has been locked.
More
6 years 2 weeks ago #166753 by jelo
Replied by jelo on topic Theme import creates doubles - a bug?

krosser wrote: I exported the Fruity theme to edit it off-line (as it didn't allow me to change css styling) and then imported it back.

Isn't that a issue for the bugtracker? Or is reimporting shipped themes allowed? Isn't there a write protection for the shipped themes?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 weeks ago #166756 by Joffm
Replied by Joffm on topic Theme import creates doubles - a bug?

Good to know about the path, but unfortunately I'm using it on their servers


Hi, krosser,
you are using the Pro edition.
So the best for all your problems is to contact the LimeSurvey support directly.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 2 weeks ago #166777 by LouisGac
Replied by LouisGac on topic Theme import creates doubles - a bug?
reimporting shipped themes should not be allowed, and it should not create 3 themes...
so it's clearly a bug...
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose