J4.x

Users List and Details Views/hr: Difference between revisions

From Joomla! Documentation

Created page with "hr"
Created page with "Potom izaberite korisničku grupu koju želite prikazati."
Line 27: Line 27:
Da bi pristupio listi korisnika morate stvoriti stavku izbornika za nju. Upotrijebite '''Menus {{rarr}} New Menu Item''', kliknite '''Select''' za '''Menu Item Type''', izaberite '''Users {{rarr}} User List'''.  
Da bi pristupio listi korisnika morate stvoriti stavku izbornika za nju. Upotrijebite '''Menus {{rarr}} New Menu Item''', kliknite '''Select''' za '''Menu Item Type''', izaberite '''Users {{rarr}} User List'''.  
[[File:User list menu item-hr.png|300px|center]]
[[File:User list menu item-hr.png|300px|center]]
Then select the users group which you want to display.
Potom izaberite korisničku grupu koju želite prikazati.
[[File:Select group-en.png|400px|center]]
[[File:Select group-en.png|400px|center]]



Revision as of 15:28, 9 August 2018

GSoC 2018
Users List and Details Views
Documentation
Joomla! 
4.x

Uvod

Namjena projekta Enhance Users Component bila je da poboljša komponentu korisnika te da doda dva nova prikaza komponente. Ovaj članak će opisati ova dva nova prikaza, a to su:

  • Prikaz liste temeljen na korisničkim grupama
  • Detaljni prikaz korisnika

Odredi nivo pristupa

Nivo pristupa se koristi kako bi se znalo koja se informacija prikazuje trenutnom korisniku kao i koja je vrsta pristupa dostupna detaljnom prikazu trenutnog korisnika.

Da bi odredili nivo pristupa za trenutnog korisnika, upotrijebite Users    Manage

File:AccessLevel-hr.png

Ovdje imate stupac Access koji se može mijenjati na dva načina:

  1. Uređivanjem pojedinog korisnika i podešavanjem vrijednosti u padajućem izborniku Access na stranici Account Details
    Access level from user options
    Access level from user options
  2. Skupnom obradom. Morate izabrati korisnike na kojima želite izvršiti promjene, kliknuti batch i izabrati vrijednost iz padajućeg izbornika Set Access Level
    Access level using batch processing
    Access level using batch processing

Napomena: vrijednost stupca Access prikazuje ono što korisnik koji ima taj pristup može vidjeti, napr. Octav pripada registriranoj korisničkoj grupi, ali ima javni pristup, tako da će on moći vidjeti samo Annu i Sarah na listi javnih korisnika i sebe na listi registriranih korisnika.

Create menu item

Da bi pristupio listi korisnika morate stvoriti stavku izbornika za nju. Upotrijebite Menus    New Menu Item, kliknite Select za Menu Item Type, izaberite Users    User List.

File:User list menu item-hr.png

Potom izaberite korisničku grupu koju želite prikazati.

What will be displayed when you create a menu item with registered users group is:

  • 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.

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.

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.

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.

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