Actions

Наборы меток

From LimeSurvey Manual

Revision as of 19:15, 5 October 2018 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

__ОГЛАВЛЕНИЕ__

General

Наборы меток в основном представляют собой шаблоны списков где каждый список содержит набор кодов с метками и может быть использован в большинстве типов вопросов или ответов в виде подвопросов. В отличие от ранних версий LimeSurvey наборы меток просто копируются в вопросы как подворосы или ответы. Если Вы измените набор меток после того как Вы его использовали, то изменения не распространятся на вопросы где набор меток был использован как шаблон.

Подсказка: Набор меток должен содержать слов на том же языке, что и основной опрос, иначе Вы не сможете использовать данный набор в любом вопросе Вашего опроса.

Пример использования набора меток выглядит следующим образом. Если кто либо хочет объявить свою 7-бальную шкалу оценок, то набор меток обеспечит эту функцию. В данном примере очень простой пользовательский набор меток изображенными парами код/метка. Обратите внимание на то, что метка отображается в актуальном вопросе.

If one wants to define a custom 7-point scale, a label set provides this function. In the example from below, a very simple custom label set with the code/label pairs (the label is what appears in the actual questions).

Код Метка
1 Абсолютно бесполезно
2 2
3 3
4 Можно использовать
5 5
6 6
7 Очень полезно

Другой графический пример:



Руководство к применению

Кликните по значку в меню административной панели для редактирования, создания, удаления, импорта или экспорта набора меток используемых в вопросах с 'гибкими' метками.



Добавление набора меток

  • Установить имя: каждый новый набор меток должен иметь свои имя.
  • Языки: каждый набор меток должен быть специализирован для языков в которых он может использоваться. Вы можете выбрать множество языков из меню.

Click on the Create or import new label set(s) button located in the upper-left corner of the page. You can either create a new label set from scratch or import it from another source:

  • New label set: The label set(s) has (have) to be manually created.
    • Set Name: Each new label set has to be given a name.
    • Languages: Every label set must be specified for the language it's used for. You can choose as many languages from the menu as you want.
  • Import label set(s): In order to import a label set, click on browse and add the .lsl label set file. If you have previously created a label set, then LimeSurvey will not allow you import a similar external label set unless you turn off the Don't import if label set already exists option. Some useful label sets are available on the LimeSurvey website.

Once the label was imported or created, click on the Save button located in the right-upper part of the screen.



If you import a whole survey, the label sets are imported too (with the questions). Duplicated label sets are ignored.

Редактирование, удаление или экспорт набора меток

Выберите существующий набор меток в выпадающем списке набора меток на панели администрирования для редактирования, удаления или экспорта набора меток.

  • Редактировать набор меток: здесь возможно переименовать набор меток и добавить/удалить языки для данного набора.
  • Удалить набор меток: после появления окна, Вы можете удалить выбранные набор меток.
  • Экспорт набора меток: экспортировать текущий набор меток в .lsl файл.
  • Панель меток:



  • View labels: Allows the user to view the existing labels located in the respective label set.
  • Edit label set: The user can rename the label set and/or add/remove languages.
  • Export label set: Export label set to a .lsl file.
  • Delete label set: A window will pop up in order to confirm whether you want to delete the respective label set or not.
(:idea:) Подсказка: некоторые полезные наборы меток доступны на сайте LimeSurvey

...add a label

+ Для добавления новой метки Вы заполняете код метки, значение оценки ответов и название и затем жмете Добавить метку. После этого метка должна быть отображена в списке выше. Возможно использовать графику вместо или в дополнение к текстовым меткам. Для этого необходимо использовать HTML-код, например:



Then, press on the plus sign to add the new label. It's possible to use a graphic instead of (or additionally to) a label text. To do that, you have to use HTML-code to include the graphic you want, e.g.:

<img border="0" src="http://www.<ваш_домен>.at/pics/pic.gif">
Read also our wiki on assessments. The column is ignored if you set all the values to 0.

To ease the editing process of the HTML-code, use the embedded HTML editor of LimeSurvey, which is located at the end of the label-text box (click on the green pen button ->0.85px).



For a short introduction on the HTML editor utilized by LimeSurvey, check the following page.

Quick add

Another possibility to quickly introduce labels is to use the Quick add... button. When you click it, a window will pop out. It works under the following form: Code ; Title.


0.8px


You can either replace or add labels. If you click Replace, all the preexisting labels will be deleted and replaced by the ones entered by you. If you click Add, the new labels will be added into the label set (the preexisting ones not being affected).


0.8px


The Code is automatically added if new entrances are created. Therefore, you can type in only the title of the labels which will automatically be assigned a code:


0.8px


0.8px


The assessment values cannot be edited/entered via this option - it has to be changed manually from the list of labels.

  Attention : If you wish to translate labels by using the Quick add... function, you need to add the translation on the same line(s) and be separated by a semicolon.


...delete a label

In order to delete a label, click on the red trash button (0.85px) located under the 'Action' column.

...rearrange a label

To rearrange the order of the labels, click on the green sign (0.85px) located under the column called 'Position' and re-position the label as you prefer.

Если Ваш набор меток имеет более одного языка, то Вы можете выбрать какой язык Вы ходите отредактировать. Каждой метке необходим код, значение оценки ответов и название. Код может быть изменен только для базового языка набора меток. Значение оценки ответов может быть проигнорировано (значение 0) если Вы не хотите использовать оценки. Название это текст, который отображается в вопросе.

  • Удалить эту метку: удаляет метку.
  • Добавить метку после этой: создает новую метку и помещает ее после данной.
  • Запустить редактор HTML-во всплывающем окне: запускает редактор HTML, который поможет пользователю подготовить HTML-код для вставки в поле название.

To add a new language, Create or import new label set(s) -> Languages -> select the languages you wish to add.

To start translating the labels into another language, select the language in which you would like to translate the labels to from the upper part of the matrix.




Управление загруженными ресурсами

In our case, the language from where the label codes and assessment values can be changed is English. Only the label description can be edited when the Romanian tab is selected - which represents the corresponding Romanian label translation of the English label.

Once you are done with the changes, do not forget to click on the 'Save changes' button located in the upper-right part of the screen.

Данная вкладка позволяет Вам управлять файлами (картинки, медиа-файлы) которые загружены в HTML-редакторе.

Before reading further, take a look at our wiki on how to create surveys since it is already assumed in the examples from below that you have already created your survey.


For a better understanding of the label sets option, let's take a look at the following examples:

The screenshots used below are from LimeSurvey 3.0, the interface being slightly different from the last LimeSurvey 2.xx release.


I want to use a label set as an answer list for one question

All the label sets that are displayed under Configuration -> Label sets are called predefined label sets. They can be used either as subquestions or as answers.

Assuming that the label set and survey are created:

  • Go to the structure of the survey and create a question group - About LimeSurvey.



  • Click on the Structure tab and then on the newly created question group (About LimeSurvey in our case). Look for group quick actions and choose Add new question to group:



  • Type in the code and text of the question.
  • In order to use a label set as a set of answers, pick up the right type of question that can make use of label sets. The array question type is selected in our example:



  • Save the question to add it into your question group.
  • Once created, you will have to add subquestions and answers:



Please note that not all question types ask for subquestions and/or answers!
  • Add at least one subquestion:



  • Add answer options. Predefined label sets... option will be used:



  • Select the label set you want to use:


0.7px


The result should look like this:



  • Save & preview the question:


I want to use labels in another language as answers

Before reading this example:
  1. Create a label set and select the other languages you would like to use in your survey. For further details, read our wiki on how to translate a label set in other languages.
  2. Edit your survey (Settings -> General Settings) by adding the additional languages you want to translate to. For more details on how to create a survey, read the following wiki.

Assuming that the label set and survey are created:

  • Create a question that can make use of label sets (e.g. array question type):
  Attention : Do not forget to select the language you want to translate to from the languages toolbar!


  • Because the array question type is selected, both the subquestions and answers need to be translated.



  • Translate the subquestions. Do not forget to select the right language tab for translation:



  • Translate the answers. However, because we use predefined label sets, select the right language tab to add the translated label set as answer options:




  • Save & Preview the survey:


I want to use emoticons instead of label text

In order to use emoticons (or any other graphics) , you have to use the embedded HTML editor when creating labels.

Assuming that the survey is created:




The HTML editor offers you a more comprehensive view on how different options can be used to enhance your survey. It is not necessary to have HTML knowledge because the toolbar is self-explaining (for further details you can either hover the mouse over the options or click on that option for more details). By using such an editor, you can also add (for example) smileys, images and/or videos that are either hosted online or on your server. In this example. three smileys have been added:



  • Create a question that can make use of label sets as predefined answers (e.g. array question type):



  • Edit the subquestions and the answer options



  • Set predefined labels as answer options.


SmileysLabelsExample.png


  • Save and preview the question:


I want to import a label set and use it as a subquestion list

Assuming that the survey is created:

Optional: Access LimeSurvey templates database and download the one you wish to use - .lsl file format (Australian states in our example).
  • Go to Configuration and click on Manage label sets button.
  • Click on Create or import new label set(s) (in the upper-left side of the screen) -> Import label set(s). Browse your computer and select the .lsl file (the label set format).
  • Now that the label set was uploaded, create a question that requires the usage of subquestions (array question types).
  • Edit subquestions.
  • Load the imported label set:
  • Save and preview.