Actions

Menu-regels configuratie

From LimeSurvey Manual

Revision as of 17:38, 26 May 2018 by Han (talk | contribs)
  Under construction


De huidige beschrijving is zeker niet volledig. Meld je aan als je wilt meewerken aan het bijwerken van de handleiding.


Algemeen

Als je iets aan de regels van een menu wilt wijzigen, ga dan via de dialoog Configuratie naar de Menu-regels configuratie.


Menu Entries Configuration.png


Hier kun je de regels in een menu aanmaken, wijzigen en verwijderen.

Menu-regels configuratie


The following actions are available to the users:


Menu-regel aanmaken

To create a new menu entry, click on the + New button located on the top-left side of the window. Once clicked, you the following menu options will be displayed:

  • Menu: Select the menu where the new entry will be located (read our wiki on how to create menus here);
  • Name: Type in the name of the menu entry;
  • Title: The title of the respective entry which will be displayed in the menu or under certain tabs (e.g., under the survey settings tab)
  • Ordering: If more menu entries are added to a menu, use this function to order them.
  • Menu title: Once you accessed a tab or a menu entry, the menu title will be displayed on the first line. For example, if you click on Overview which is located under the Survey settings tab, the overview panel will be displayed with the (menu) title: Survey overview
  • Menu name: It is displayed when you hover the mouse over the respective entry. For example, if you hover the mouse over Theme options, the following message will show up: Edit theme options for this survey.
  • Menu icon: All the used icons are fontawesome icons by default. To find other available icons, check the following link. Introduce in the box the string located after "fa fa-". E.g., for a floppy disk, we have "fa fa-floppy-o". To use it as an icon for a menu entry, type in this box only "floppy-o".
  • Menu icon types: It depends on the ones used within your current theme. For further details, check the following wiki section.
  • Menu class:
  • Menu link: Link the menu entry to the URL of that function
  • Permission:
  • Permission grade:
See the last section of this page for information on advanced options.

Menu-regel wijzigen

Als je een bestaande menu-regel wilt wijzigen, klik dan op de groene knop in de kolom Actie van die menu-regel. De menu-regel wordt geselecteerd en de tekst op de knop +Menu-regel toevoegen wordt gewijzigd in Wijzig deze menu-regel. Klik op de knop en breng je wijzigingen aan.

Menu-regel verwijderen

Als je een menu-regel wilt verwijderen klik dan op de knop rode afvalbak in de kolom Actie van die menu-regel.


Reorder menu entries

The ordering process takes first into account the menu an entry belongs to, and then it orders the entries according to the value from the order field. Once you change these values, click on the reorder button to get the entries rearranged in the table.



Reset menu entries to the default values

If you wish to reset all the values of the survey menu entries to their default values, click on the reset button located in the upper right part of the screen. A message will pop up asking you to confirm the action. Please note that once you confirm the action, all the custom menu entries will be lost.


  Attention : Please note that in order to backup your survey menu entries configuration, create a LimeSurvey database backup. A separate option will be introduced in the near future to facilitate only the backup of the survey menus.


Voorbeelden

I want to add a new menu entry to the default survey menu

In this example, it will be shown how to add a Label sets menu entry to the default survey menu.

First, click on the + New button located on the top left side of the screen and start completing the fields:

  • Menu: Select from the dropdown list the menu you wish to add to the menu entry.
  • Name: labelsets.
  • Order: 20.
  • Menu title: Label sets.
  • Menu name: Click here to edit the available label sets.
  • Menu icon: Check the following link to find the right icon for the new menu entry. In the screenshot from above, I used "fa fa-battery-three-quarters".
  • Menu icon type: Select from the dropdown box the "Fontawesome icon" option.
  • Menu link: Find the URL of the option you wish to link the entry to, and copy everything after the website name (admin/labels/sa/view in our case):


Click on the save button and see if the new survey menu entry was added:



Once done, check the survey menu and see if the survey menu entry is functional:



  Attention : Do not forget to check the LimeSurvey installation permissions to see which users can access and edit label sets. For more details, check the following wiki section.


Geavanceerde opties

Als je een menu-regel aanmaakt of wijzigt dan staat er onderin een knop Toon geavanceerde opties. Als je daar op klikt verschijnen er extra velden:

  • Actie
  • Sjabloon
  • Gedeeltelijk
  • Classes
  • Data
  • Get data method
  • Taal

Als je iets aanpast, vergeet dan niet de wijzigingen op te slaan.