Importing the template

More
4 years 8 months ago #90981 by navneet123
navneet123 created the topic: Importing the template
When importing a template in Limesurvey 2.0, it is giving an error as "Unable to adding {TEMPLATEJS} placeholder, please control your startpage.pstpl."

Please Log in to join the conversation.

More
4 years 8 months ago #91068 by DenisChenu
DenisChenu replied the topic: Importing the template
It's an information.

There is a new placeholer for js files. Then you have to add it manually to your startpage.pstpl.
The automatic update search for TEMPLATEJS in startpage.pstpl, if he don't fond search to replace the line <script ... template.js></script> by TEMPLATEJS. If it don't work: show this information.


Can you put the zip file of your template somewhere. I give it a test to see why the "autoamtic adding" don't work.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 8 months ago - 4 years 8 months ago #91153 by navneet123
navneet123 replied the topic: Importing the template
Hi Denis,

Thanks for your valuable reply, but i didnt find the <script ... template.js></script> line in startpage.pstpl. I have downloaded the IPhone1 template from the link below
www.limesurvey.org/en/download-limesurve...vey-design-templates
Last Edit: 4 years 8 months ago by navneet123.

Please Log in to join the conversation.

More
4 years 8 months ago #91156 by DenisChenu
DenisChenu replied the topic: Importing the template
Then add yourself {TEMPLATEJS} in startpage.pstpl

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 7 months ago #91428 by nicktruch
nicktruch replied the topic: Importing the template
Hi Denis,
I've got the same problem as navneet123.
I've checked the startpage.pstpl file and TEMPLATEJS is present...
Here is my template zip file.
Thanks for your answer,
Nick

File Attachment:

File Name: univlyon2.zip
File Size:141 KB
Attachments:

Please Log in to join the conversation.

More
4 years 7 months ago - 4 years 7 months ago #91430 by DenisChenu
DenisChenu replied the topic: Importing the template
Your zipfile are bad:

Zip content:
univlyon2/__MACOSX
univlyon2/univlyon2/template files

Need:
univlyon2/template files only.

See zip file

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Attachments:
Last Edit: 4 years 7 months ago by DenisChenu. Reason: Add attachment
The following user(s) said Thank You: nicktruch

Please Log in to join the conversation.

More
4 years 7 months ago #91467 by Mazi
Mazi replied the topic: Importing the template

navneet123 wrote: I have downloaded the IPhone1 template from the link below
www.limesurvey.org/en/download-limesurve...vey-design-templates

That template is stone old and won't work well with the latest Limesurvey versions.

A professional Limesurvey iPhone template is available here: www.limesurvey-templates.com/limesurvey-...hone-tuned-p-41.html

As for related importing problems: Make sure your template doesn't contain additional content like "mytemplate/__MACOSX"


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
3 years 8 months ago #103198 by JFS
JFS replied the topic: Importing the template
Hi,
I have the same problem with an new template what is for version 2.0.
mofog.github.io/BootstrapForLimeSurvey

In this template there is a {TEMPLATEJS} in the starpage.pstpl but I got teh errormessage that this file would not be found and the placeholder could be insered.
in the next window I got an window where I can write some code in it and no preview of the template.

What can I do to get this template work?

Greetings

Please Log in to join the conversation.

More
3 years 8 months ago #103199 by DenisChenu
DenisChenu replied the topic: Importing the template
Hi,

Github zip file are bad : uncompress the zip, go to sub dir : compress wjole file.

Need templatename/thefile.pstpl

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: JFS

Please Log in to join the conversation.

More
3 years 8 months ago #103203 by JFS
JFS replied the topic: Importing the template
Hi,
thanks a lot, now it works.
For all who create zip-files on osx use the tool zip cleaner ( www.macwelt.de/downloads/Zip-Cleaner-1-0-5825725.html ) to delete the _MACOSX folder from the zip-file.

Greetings

Please Log in to join the conversation.

More
3 years 8 months ago #103232 by Mazi
Mazi replied the topic: Importing the template

JFS wrote: Hi,
thanks a lot, now it works.
For all who create zip-files on osx use the tool zip cleaner ( www.macwelt.de/downloads/Zip-Cleaner-1-0-5825725.html ) to delete the _MACOSX folder from the zip-file.

Greetings

Thanks for your feedback. maybe you can also add a note at manual -> templates to help others?!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
3 years 8 months ago #103270 by JFS
JFS replied the topic: Importing the template
Hi,
I have added this two points to the manual. I hope i have do it right :).

Please Log in to join the conversation.

More
3 years 8 months ago #103275 by Mazi
Mazi replied the topic: Importing the template
Thanks for helping to improve our manual.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
2 years 2 weeks ago #124646 by bruce78
bruce78 replied the topic: Importing the template
I just found that when I was getting the same error trying to import a skeletonquest-master.zip file. To work-around, I had to extract the zip and re-create it, making sure all files were at the root level in the zip file and not within a subfolder...

That solved this problem for me as per the modified attached zip for skeletonquest-master.zip
Attachments:

Please Log in to join the conversation.

More
2 years 6 days ago #125613 by Mazi
Mazi replied the topic: Importing the template
Sub-folders caused problems at older Limesurvey versions. The solutions posted here always depend on the Limesurvey version you are using.

At www.limesurvey-templates.com/templates_faq.php we have created a "Limesurvey Template FAQ" which describes the basics such as:
- How do I import a downloaded template at Limesurvey?
- How do I assign an imported template to a survey?
- How do I add my own logo to a template?
- How do I set a template to be used as default template for all surveys?

Hopefully that helps others getting familiar with Limesurvey Templates.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now