Welcome to the LimeSurvey Community Forum

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

Template editor

  • sprocker
  • sprocker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 11 months ago #166967 by sprocker
Template editor was created by sprocker
Hi,

I have just set up a new install - Version 3.6.2+180406

Tried to create a template - so Admin > Configuration > Themes > Entend Friuty and called it kwd_1

Now I am in Template editor: kwd_1 but clicking the button: "Copy to local template and save changes" has no effect.

I tried it in the online LimeSurvey demo and this creates a file and next to the Screen part files: it states "local" but on my server nothign changes, it still stales "inherited"

What can be stopping my local verison being created/saved in my extened template?

Thanks
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 11 months ago #166969 by Joffm
Replied by Joffm on topic Template editor
Hi, sprocker,
the only thing you can do is to open a bug report.
User "krosser" already informed the LS support. But he is a Pro-user.
Regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • sprocker
  • sprocker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 11 months ago #166990 by sprocker
Replied by sprocker on topic Template editor
Thank you - I will.

For a quick work around, as I need to show this to a client tomorrow, I was going to manually create the files and upload via ftp - where do I store them?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 11 months ago #166994 by tpartner
Replied by tpartner on topic Template editor
custom.css --> /upload/themes/kwd_1/css/

custom.js--> /upload/themes/kwd_1/scripts/

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • sprocker
  • sprocker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 11 months ago #166996 by sprocker
Replied by sprocker on topic Template editor
excellent - thank you!
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 11 months ago #167006 by LouisGac
Replied by LouisGac on topic Template editor
It's probably a server configuration problem. But the software should provide an error message.

I guess the problem come from that statement:
github.com/LimeSurvey/LimeSurvey/blob/ma...dmin/themes.php#L621

That has no error message if it fails.
So I bet on a problem of the max post size of the server config.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 11 months ago #167066 by Joffm
Replied by Joffm on topic Template editor

So I bet on a problem of the max post size of the server config.


No, I do not believe this.

If a button works in 3.6.1. and after updating to 3.6.2. it is absolutely dead (without function) without any changes in the server configuration there is obviously something else.

The same happened when new installing 3.6.2.

So, please have a look at this.

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 11 months ago #167078 by LouisGac
Replied by LouisGac on topic Template editor
The topic has been locked.
  • sprocker
  • sprocker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 11 months ago #167105 by sprocker
Replied by sprocker on topic Template editor
thank you - I have now updated those two files and the files now copy to "local" BUT the preview is now not loading....is there another fix for that?
The topic has been locked.
  • sprocker
  • sprocker's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 11 months ago #167113 by sprocker
Replied by sprocker on topic Template editor
Copied both these files from the main folder on git and now it is all working.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose