Welcome to the LimeSurvey Community Forum

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

Importing the template

  • navneet123
  • navneet123's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #90981 by navneet123
Importing the template was created by navneet123
When importing a template in Limesurvey 2.0, it is giving an error as "Unable to adding {TEMPLATEJS} placeholder, please control your startpage.pstpl."
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 2 months ago #91068 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • navneet123
  • navneet123's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago - 11 years 2 months ago #91153 by navneet123
Replied by navneet123 on 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: 11 years 2 months ago by navneet123.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 2 months ago #91156 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The topic has been locked.
More
11 years 1 month ago #91428 by nicktruch
Replied by nicktruch on 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:
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 1 month ago - 11 years 1 month ago #91430 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
Attachments:
Last edit: 11 years 1 month ago by DenisChenu. Reason: Add attachment
The following user(s) said Thank You: nicktruch
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
11 years 1 month ago #91467 by Mazi
Replied by Mazi on 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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
10 years 2 months ago #103198 by JFS
Replied by JFS on 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
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 2 months ago #103199 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The following user(s) said Thank You: JFS
The topic has been locked.
More
10 years 2 months ago #103203 by JFS
Replied by JFS on 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
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
10 years 2 months ago #103232 by Mazi
Replied by Mazi on 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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
10 years 2 months ago #103270 by JFS
Replied by JFS on topic Importing the template
Hi,
I have added this two points to the manual. I hope i have do it right :).
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose