Have it only as localhost so you won't be able to access it
That is what I did when I wanted to try the workaround example with card sorting.
I downloaded the demo template and demo survey. I added the file demo template to the folder where are all lime survey templates and than I imported the demo survey in Lime survey.
And when I use in Demo survey this script:
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
alert("Test!");
});
</script>
and I run the survey the test window appears. However, if i exchange it for the script for card sorting and run the survey than nothing happens and question looks like on attached above picture.
Also I realized than if I wanna change the template of the survey the DEMO template is not appearing there. So maybe I should put it in different place or the database is not working properly ?
I don't know how to find Error, because my knowledge in this area is just basic.