Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: Importing the template

Importing the template 3 years 3 months ago #90981

  • navneet123
  • navneet123's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
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 administrator has disabled public write access.

Importing the template 3 years 3 months ago #91068

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 8751
  • Thank you received: 1218
  • Karma: 360
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
The administrator has disabled public write access.

Importing the template 3 years 3 months ago #91153

  • navneet123
  • navneet123's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
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: 3 years 3 months ago by navneet123.
The administrator has disabled public write access.

Importing the template 3 years 3 months ago #91156

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 8751
  • Thank you received: 1218
  • Karma: 360
Then add yourself {TEMPLATEJS} in startpage.pstpl
The administrator has disabled public write access.

Importing the template 3 years 3 months ago #91428

  • nicktruch
  • nicktruch's Avatar
  • Offline
  • Junior Lime
  • Posts: 28
  • Karma: 0
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
The administrator has disabled public write access.

Importing the template 3 years 3 months ago #91430

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 8751
  • Thank you received: 1218
  • Karma: 360
Your zipfile are bad:

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

Need:
univlyon2/template files only.

See zip file
Attachments:
Last Edit: 3 years 3 months ago by DenisChenu. Reason: Add attachment
The administrator has disabled public write access.
The following user(s) said Thank You: nicktruch

Importing the template 3 years 3 months ago #91467

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5937
  • Thank you received: 360
  • Karma: 258
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)limesurvey.org'"
The administrator has disabled public write access.

Importing the template 2 years 3 months ago #103198

  • JFS
  • JFS's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
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 administrator has disabled public write access.

Importing the template 2 years 3 months ago #103199

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 8751
  • Thank you received: 1218
  • Karma: 360
Hi,

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

Need templatename/thefile.pstpl
The administrator has disabled public write access.
The following user(s) said Thank You: JFS

Importing the template 2 years 3 months ago #103203

  • JFS
  • JFS's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
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 administrator has disabled public write access.

Importing the template 2 years 3 months ago #103232

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5937
  • Thank you received: 360
  • Karma: 258
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)limesurvey.org'"
The administrator has disabled public write access.

Importing the template 2 years 3 months ago #103270

  • JFS
  • JFS's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
Hi,
I have added this two points to the manual. I hope i have do it right :).
The administrator has disabled public write access.

Importing the template 2 years 3 months ago #103275

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5937
  • Thank you received: 360
  • Karma: 258
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)limesurvey.org'"
The administrator has disabled public write access.

Importing the template 7 months 4 weeks ago #124646

  • bruce78
  • bruce78's Avatar
  • Offline
  • Premium Lime
  • Posts: 9
  • Karma: 0
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:
The administrator has disabled public write access.

Importing the template 7 months 3 weeks ago #125613

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5937
  • Thank you received: 360
  • Karma: 258
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)limesurvey.org'"
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.271 seconds