Actions

Themes/ro: Difference between revisions

From LimeSurvey Manual

(Created page with "==Temă implicită setări globale==")
(Created page with "==Panoul de opțiuni de temă== Această opțiune modifică tema pentru un anumit sondaj. Pentru a accesa noua funcție „''Opțiuni de temă''', accesați Setări sondaj|S...")
Line 24: Line 24:
<center>[[File:default theme setting.png]]</center>
<center>[[File:default theme setting.png]]</center>


==Theme options panel==
==Panoul de opțiuni de temă==
This option changes the theme for a particular survey.
Această opțiune modifică tema pentru un anumit sondaj.
To access the new '''theme options''' feature, go to the [[Survey settings|survey settings]]:
Pentru a accesa noua funcție „''Opțiuni de temă''', accesați [[Setări sondaj|Setări sondaj]]:


<center>[[File:Survey menu - theme options.png]]</center>
<center>[[File:Survey menu - theme options.png]]</center>

Revision as of 18:28, 30 October 2023

LimeSurvey 3 introduce un nou sistem complet de motor de șablon, bazat pe Twig 1.29 și / Bootstrap și permițând moștenirea șablonului și opțiunile de șablon. Pagina HTML frontală poate fi personalizată 100% pentru a se potrivi nevoilor dumneavoastră.


Instalați Limesurvey 3.0+ pentru a obține acces la funcția „Opțiuni de temă” pentru sondaj. Această opțiune „nu” este disponibilă în versiunile mai vechi de LimeSurvey!


  Următoarea secțiune este încă în construcție. Dacă doriți să obțineți o scurtă introducere despre noul sistem de teme din LimeSurvey 3.x, vă rugăm să continuați să citiți următoarea wiki secțiune. Dacă încă utilizați LimeSurvey 2.x, vă rugăm să continuați să citiți următoarea secțiune wiki (recomandăm întotdeauna utilizatorilor noștri să-și actualizeze instalările!).


Introducere

„Opțiunile temei” sunt disponibile pe LimeSurvey 3.x și oferă un set de diverse instrumente care le permite administratorilor de sondaje să schimbe rapid și ușor setările legate de teme ale sondajelor lor.

Opțiuni pentru a schimba o temă

Există două moduri de a utiliza o temă în LimeSurvey 3.x, fie prin setarea globală, fie prin panoul de opțiuni temă din interiorul unui sondaj.

Schimbarea temei din setarea globală face ca tema aleasă să fie tema prestabilită pentru toate sondajele pe care le creați. Dacă tema este schimbată pentru un anumit sondaj, utilizând panoul de opțiuni Temă din interior tema, doar tema pentru acel sondaj anume este schimbată.

Temă implicită setări globale

Panoul de opțiuni de temă

Această opțiune modifică tema pentru un anumit sondaj. Pentru a accesa noua funcție „Opțiuni de temă', accesați Setări sondaj:

Available list of themes

The list of themes available can be access from the Administration Dashboard. Configuration > Advanced > Themes


The list is divided into 5 columns:

  • Preview of the theme: This shows how the theme will look like when used.
  • Theme title: Specifies the name of the theme.
  • Description of the themes: Users can always get more information about the theme using the URL on the description.
  • Type of theme: Core themes are themes provided with LimeSurvey and cannot be changed while User themes are extended themes added in upload directory by users.
  • Extends: if the theme extends other themes, the name of the extended theme will be displayed here.
  • Last Column with some action buttons: The last Column contains five buttons as shown on the image.

The buttons are ways in which a theme can be edited and each button will be explained in details below,

    • Theme editor: it will redirect you to the theme editor
    • Theme options: it will lead you the global configuration of theme options
    • Uninstall: it will delete the configuration entries of a theme in the database
    • Install: it will load the manifest of a theme to add it to database and make it available for selection at the survey level
    • Reset: This will completely reset the theme.


Theme editor

The LimeSurvey core themes (default themes) cannot be modified. The "extend" button give users the opportunity for a core theme to be modified(extended).

This documentation assumes you already know how to use the Template Editor in the previous version of LS.

The fruity theme is used for this demonstration on how to extend/modify a theme using the theme editor.

When the theme editor button is clicked, the page below is displayed. The theme can be previewed using the "Previous" and "Next" buttons. The screen size can be adjusted to see how responsive the theme is on all devices. A new template can be imported or the current template can be exported as a zip file.




The "Extend" button will ask for a new name to save a copy of the theme you want to modify. 
In our case, the fruity theme will be named "extends_fruity".


Theme inheritance overview

When a theme is extended, a copy of the original theme can easily be modified. In our case, we have a copy of the fruity theme saved as "extends_fruity" which will be available for use in the list of themes available.

Modifying the theme is for advance users with basic knowledge of HTML, CSS and Twig.

Development