- Posts: 9
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Template editor
- sprocker
- Topic Author
- Offline
- New Member
Less
More
6 years 2 weeks 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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12908
- Thank you received: 3975
6 years 2 weeks ago #166969
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
6 years 2 weeks 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?
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10104
- Thank you received: 3593
6 years 2 weeks ago #166994
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Template editor
custom.css --> /upload/themes/kwd_1/css/
custom.js--> /upload/themes/kwd_1/scripts/
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
6 years 2 weeks ago #166996
by sprocker
Replied by sprocker on topic Template editor
excellent - thank you!
The topic has been locked.
- LouisGac
- Visitor
6 years 2 weeks 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.
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12908
- Thank you received: 3975
6 years 2 weeks ago #167066
by Joffm
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
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
- Visitor
6 years 2 weeks ago #167078
by LouisGac
Replied by LouisGac on topic Template editor
yes, indeed, the button was broken:
github.com/LimeSurvey/LimeSurvey/commit/...574fef3b49dc2b263357
github.com/LimeSurvey/LimeSurvey/commit/...574fef3b49dc2b263357
The topic has been locked.
- sprocker
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
6 years 1 week 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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
6 years 1 week 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.