J4.x

Users List and Details Views/ca: Difference between revisions

From Joomla! Documentation

Created page with "A continuació, selecciona el grup d'usuaris que vols visualitzar."
Created page with "El que es mostrarà quan creis un element del menú amb el grup d'usuaris registrats és:"
Line 30: Line 30:
[[File:Select group-ca.png|400px|center]]
[[File:Select group-ca.png|400px|center]]


What will be displayed when you create a menu item with registered users group is:  
El que es mostrarà quan creis un element del menú amb el grup d'usuaris registrats és:  
* For an user that is '''not logged in''', the list will contain the users that are in the registered group and have access level public, if the users have access level registered or super user, they will not be displayed.  
* For an user that is '''not logged in''', the list will contain the users that are in the registered group and have access level public, if the users have access level registered or super user, they will not be displayed.  
* For an user that is '''logged in''' and has access level registered, the list will contain all users in the registered group that have access level registered or public, the ones with super user access will not be displayed.
* For an user that is '''logged in''' and has access level registered, the list will contain all users in the registered group that have access level registered or public, the ones with super user access will not be displayed.

Revision as of 09:31, 8 August 2018

GSoC 2018
Llista d'usuaris i visualitzacions de detalls
Documentació
Joomla! 
4.x

Introducció

El propòsit del projecte Millora del component d'usuaris era millorar el component dels usuaris i afegir dues noves vistes útils al component. Aquest article descriurà les dues noves vistes que són:

  • Una vista de llista basada en grups d'usuaris
  • A detailed view of an user

Estableix el nivell d'accés

El nivell d'accés s'utilitza per saber quina informació es mostra a l'usuari actual i també a quin tipus de nivell d'accés es troba disponible la vista detallada dels detalls de l'usuari.

Per establir el nivell d'accés de l'usuari actual, vés a 'Usuaris    Gestiona' .

File:AccessLevel-ca.png

Aquí teniu la columna 'Accés' que es pot modificar de dues maneres:

  1. Editant un sol usuari i establir el valor al menú desplegable Accés des de la pestanya 'Detalls del compte'
    Access level from user options
    Access level from user options
  2. Utilitzant processament per lots. Has de seleccionar els usuaris als quals vols aplicar els canvis, fes clic a "executar" i, a continuació, seleccioneu el valor del menú desplegable 'Definir el nivell d'accés' .
    Access level using batch processing
    Access level using batch processing

Nota : el valor de la columna d'accés representa el que l'usuari que té aquest nivell d'accés pot veure, per exemple, Octav pertany al grup d'usuaris registrats però té accés públic, de manera que només podrà veure Anna i Sarah al llistat d'usuaris públics i ell mateix a la llista registrada.

Crear element del menú

Per accedir a la llista d'usuaris, heu de crear un ítem de menú per a això. Vés a 'Menus    Nou element del menú' , fes clic a 'Seleccionar' per al 'Tipus d'element del menú' , selecciona 'Usuaris    Llista d'usuaris '.

File:User list menu item-ca.png

A continuació, selecciona el grup d'usuaris que vols visualitzar.

File:Select group-ca.png

El que es mostrarà quan creis un element del menú amb el grup d'usuaris registrats és:

  • For an user that is not logged in, the list will contain the users that are in the registered group and have access level public, if the users have access level registered or super user, they will not be displayed.
  • For an user that is logged in and has access level registered, the list will contain all users in the registered group that have access level registered or public, the ones with super user access will not be displayed.

There is also the possibility to create a menu item for a single user details view. The process is the same as for the list menu item, except that you have to choose an user instead of a group.

File:User details menu item-ca.png

User List View

The information shown in the list view for each user is the name by default. Other information can be added using custom fields. The screenshot below contains the information shown in a menu item for a registered user group. The Description is a custom field.

File:Registered user list-ca.png

User Details View

The information shown in the user details view includes by default the name, username and email of the user. In order to see additional information, you have use custom fields. In the picture below, the Description is a custom field.

File:Details view-ca.png

The user details view has the option to send an email to the user that can be activated via option in the user options or global options, Form tab.

File:Activate contact form-ca.png

Once the Contact Form option is set to Show, the contact form is displayed in the user details view:

File:User details view with contact form-ca.png