Skip to content

Tagify User List

Tagify User List renders user reference fields as a Tagify users list: each suggestion and each tag shows the user's avatar, name, and an optional info label.

drush en tagify_user_list

Widget

Pick Tagify User List (tagify_user_list_entity_reference_autocomplete_widget) under Manage form display for an entity reference field that targets users.

Setting Default Description
Autocomplete matching Starts with Starts with or Contains.
Number of results 10 How many suggestions the dropdown lists. 0 removes the limit.
Suggestions dropdown When 1 character is typed When the dropdown opens.
Placeholder empty Text shown in the empty input.
Avatar image field user_picture Image field on the user entity used as avatar.
Avatar image style Thumbnail Image style applied to the avatar.
Include info label on Shows extra information under the user name.
Info label content [user:mail] Token template for the info label.

Users without an image get a default avatar.

Formatter

Pick Tagify User List (tagify_user_list_entity_reference_formatter) under Manage display. It is only offered for fields that reference users. It has the settings of the Tagify formatter plus Avatar image field and Avatar image style. Users without an image, or whose profile the visitor cannot view, show the default avatar.

Use it as the default for user references

Enabling the module adds an option to the Tagify settings page: Set Tagify User List widget as default for user reference fields. When on:

  • New fields added in Field UI with the User reference option get the Tagify User List widget.
  • The node Authored by field uses it on content types whose form display has not been saved yet, such as new content types. Saved form displays keep their widget.
  • Email addresses are not shown in the suggestions of those defaults: the info label is turned off.