Person Contact Card 

Icon of the contact card
CType

academicpersons_card

Plugin

AcademicPersons, plugin Card, action ProfileController::cardAction()

Set

fgtclb/academic-persons-card, or the aggregate set fgtclb/academic-persons

Templates

Templates/Profile/Card.html, see Templates

Contact cards of the profiles an editor picks, in the order they are picked: the contact person in the sidebar of a page, or the two people to ask on the page of a service. Each card is a profile item, as in the tiles of the list, with the crop variant of the card, see The crop variant of a view. The names link to the detail page.

Three profile cards with portrait, linked name and one position each

Three contact cards showing the image and the position of the first contract.

The card shares its options with the Person List. The page TSconfig of its component, which comes with the set fgtclb/academic-persons-card, hides the list, sorting, pagination, view mode and filter fields, because a fixed selection has no use for them. The card always renders tiles.

Settings 

PageTitle display format
Type
text, with a value picker
Default
empty

Has no effect in this element. Set the format on the Person Details element of the detail page.

Detail Page
Type
page
Default
empty

The page the names link to, see Detail Page.

List of profiles
Type
records
Default
empty

The profiles the element shows, one card each, in the order they are picked. Empty shows the text that no profile was found. The profiles are found wherever they are stored.

Fallback to default language for non translated profiles
Type
checkbox
Default
on

On a translated page, also shows the picked profiles that are not translated into its language, in the default language. See Fallback to default language for non translated profiles.

Show only selected Fields
Type
select, several values
Default
empty

The fields each card shows, see Show only selected Fields. A card for a sidebar usually shows the image, the position and the e-mail addresses and phone numbers.

One profile card with portrait, name, position, location, e-mail, phone and address

A card with an empty field selection shows the image and every contract field except the function type and the organisational unit.

Organisational Units
Type
select, several values
Default
empty

Has no effect in this element on its own. The card shows the profiles it is given, and the contract restriction that would read this field is hidden. A value of Only contracts of the selected organisational units and function types stored while the element was a list stays in effect, and then this field decides which contracts the card shows.

Function Types
Type
select, several values
Default
empty

The same as Organisational Units.

Contracts per profile
Type
select
Default
All contracts

Only the first contract keeps a card short for a person with several contracts. See Which contracts a profile shows.

Only contracts valid today
Type
checkbox
Default
off

Leaves out the contracts that have ended or not started yet. A picked profile is shown whatever its contracts are. See Which contracts a profile shows.

Show hidden records
Type
checkbox
Default
off

Shows a picked profile whose Visible switch is off as well. See Profiles that are not public.

Hidden fields 

The page TSconfig of the card disables these fields of the shared options: Group By, Sort By, Sort By Direction, Pagination, Alphabetical Pagination, Results per Page, Number of Links, View Mode Toggle, View Mode Default, Visitors may filter by function type, Visitors may filter by organisational unit and Only contracts of the selected organisational units and function types. The card reads none of them, except the last one, whose stored value stays in effect. The same page TSconfig is what makes the card selectable, so wherever an editor can add a card, the fields are hidden.